Class SamlCredential.SamlUser
java.lang.Object
org.codelibs.fess.app.web.base.login.SamlCredential.SamlUser
- All Implemented Interfaces:
Serializable,FessUser
- Enclosing class:
SamlCredential
Represents a SAML user.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]The groups of the user.protected StringThe name ID of the user.protected StringThe name ID format of the user.protected StringThe name ID name qualifier of the user.protected StringThe name ID SP name qualifier of the user.protected String[]The permissions of the user.protected String[]The roles of the user.protected StringThe session index of the user. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Gets the user's assigned group names.getName()Gets the user's display name.Gets the name ID format.Gets the name ID name qualifier.Gets the name ID SP name qualifier.String[]Gets the user's permissions.String[]Gets the user's assigned role names.Gets the session index.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codelibs.fess.entity.FessUser
isEditable, refresh
-
Field Details
-
groups
The groups of the user. -
roles
The roles of the user. -
permissions
The permissions of the user. -
nameId
The name ID of the user. -
sessionIndex
The session index of the user. -
nameIdFormat
The name ID format of the user. -
nameidNameQualifier
The name ID name qualifier of the user. -
nameidSPNameQualifier
The name ID SP name qualifier of the user.
-
-
Constructor Details
-
SamlUser
public SamlUser(String nameId, String sessionIndex, String nameIdFormat, String nameidNameQualifier, String nameidSPNameQualifier, String[] groups, String[] roles) Constructor.- Parameters:
nameId- The name ID.sessionIndex- The session index.nameIdFormat- The name ID format.nameidNameQualifier- The name ID name qualifier.nameidSPNameQualifier- The name ID SP name qualifier.groups- The groups.roles- The roles.
-
-
Method Details
-
getName
Description copied from interface:FessUserGets the user's display name. -
getRoleNames
Description copied from interface:FessUserGets the user's assigned role names.- Specified by:
getRoleNamesin interfaceFessUser- Returns:
- Array of role names.
-
getGroupNames
Description copied from interface:FessUserGets the user's assigned group names.- Specified by:
getGroupNamesin interfaceFessUser- Returns:
- Array of group names.
-
getPermissions
Description copied from interface:FessUserGets the user's permissions.- Specified by:
getPermissionsin interfaceFessUser- Returns:
- Array of permission strings.
-
getSessionIndex
Gets the session index.- Returns:
- The session index.
-
getNameIdFormat
Gets the name ID format.- Returns:
- The name ID format.
-
getNameidNameQualifier
Gets the name ID name qualifier.- Returns:
- The name ID name qualifier.
-
getNameidSPNameQualifier
Gets the name ID SP name qualifier.- Returns:
- The name ID SP name qualifier.
-
toString
-