Package org.codelibs.fess.ldap
Class LdapUser
java.lang.Object
org.codelibs.fess.ldap.LdapUser
- All Implemented Interfaces:
Serializable,FessUser
An LDAP user.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the environment for LDAP connection.String[]Gets the user's assigned group names.getName()Gets the user's display name.String[]Gets the user's permissions.String[]Gets the user's assigned role names.booleanDetermines if the user's information can be edited.
-
Field Details
-
env
The environment for LDAP connection. -
name
The name of the user. -
permissions
The permissions of the user.
-
-
Constructor Details
-
LdapUser
Constructs a new LDAP user.- Parameters:
env- The environment for LDAP connection.name- The name of the user.
-
-
Method Details
-
getName
Description copied from interface:FessUserGets the user's display name. -
getPermissions
Description copied from interface:FessUserGets the user's permissions.- Specified by:
getPermissionsin interfaceFessUser- Returns:
- Array of permission strings.
-
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.
-
getEnvironment
Returns the environment for LDAP connection.- Returns:
- The environment for LDAP connection.
-
isEditable
public boolean isEditable()Description copied from interface:FessUserDetermines if the user's information can be edited.- Specified by:
isEditablein interfaceFessUser- Returns:
- True if the user's information is editable, false otherwise.
-