Class LoginServiceImpl

    • Constructor Detail

      • LoginServiceImpl

        public LoginServiceImpl()
    • Method Detail

      • getLoggedUser

        public LoggedUser getLoggedUser​(String role)
        Build info for active session user for specific role
        Specified by:
        getLoggedUser in interface LoginService
        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