Class AbstractSecurityManager

    • Method Detail

      • getAuthenticatedUserId

        public java.lang.String getAuthenticatedUserId()
        Description copied from interface: SecurityManager
        Get currently authenticated user id from application security context
        Specified by:
        getAuthenticatedUserId in interface SecurityManager
        Returns:
        currently authenticate user id or empty string if anonymous user
      • getAuthenticatedUserGroups

        public java.util.List<java.lang.String> getAuthenticatedUserGroups()
        Description copied from interface: SecurityManager
        Get group names for currently authenticated user from application security context
        Specified by:
        getAuthenticatedUserGroups in interface SecurityManager
        Returns:
        list of group names the current user is member of
      • getAuthenticatedUserRoles

        public java.util.List<java.lang.String> getAuthenticatedUserRoles()
        Description copied from interface: SecurityManager
        Get list of role names for currently authenticated user from application security context
        Specified by:
        getAuthenticatedUserRoles in interface SecurityManager
        Returns:
        list of roles names or empty collection
      • securityException

        protected java.lang.SecurityException securityException()