Package org.mycore.user2.login
Class MCRShibbolethUserInformation
java.lang.Object
org.mycore.user2.login.MCRShibbolethUserInformation
- All Implemented Interfaces:
MCRUserInformation
- Author:
- René Adler (eagle)
-
Field Summary
Fields inherited from interface org.mycore.common.MCRUserInformation
ATT_EMAIL, ATT_PRIMARY_GROUP, ATT_REAL_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetUserAttribute
(String attribute) Get additional attributes if they are provided by the underlying user systemThe UserID is the information that is used in user clauses of the ACL System.boolean
isUserInRole
(String role) The role information is used in group clauses of the ACL System.
-
Constructor Details
-
Method Details
-
getUserID
Description copied from interface:MCRUserInformation
The UserID is the information that is used in user clauses of the ACL System.- Specified by:
getUserID
in interfaceMCRUserInformation
-
isUserInRole
Description copied from interface:MCRUserInformation
The role information is used in group clauses of the ACL System.- Specified by:
isUserInRole
in interfaceMCRUserInformation
-
getUserAttribute
Description copied from interface:MCRUserInformation
Get additional attributes if they are provided by the underlying user system- Specified by:
getUserAttribute
in interfaceMCRUserInformation
- Parameters:
attribute
- user attribute name- Returns:
- attribute value as String or null if no value is defined;
-