Package io.tesler.core.util.session.impl
Class LoginServiceImpl
- java.lang.Object
-
- io.tesler.core.util.session.impl.LoginServiceImpl
-
- All Implemented Interfaces:
LoginService
@Service @Transactional public class LoginServiceImpl extends Object implements LoginService
-
-
Constructor Summary
Constructors Constructor Description LoginServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<SimpleDictionary>
getFeatureSettings()
Get available application features, e.g.LoggedUser
getLoggedUser(String role)
Build info for active session user for specific role
-
-
-
Method Detail
-
getLoggedUser
public LoggedUser getLoggedUser(String role)
Build info for active session user for specific role- Specified by:
getLoggedUser
in interfaceLoginService
- Parameters:
role
- Requested role- Returns:
- LoggedUser User info with settings, supported features, locale and time zone
-
getFeatureSettings
public Collection<SimpleDictionary> getFeatureSettings()
Get available application features, e.g. comments/notification polling or supression of system errors No implementation is provided by Tesler UI by default so for now it is considered as a customization joint.- Returns:
- Dictionary of string key and value (boolean) Following keys were supported historically: FEATURE_COMMENTS, FEATURE_NOTIFICATIONS, FEATURE_HIDE_SYSTEM_ERRORS
-
-