Package org.mycore.user2
Class MCRTransientUser
java.lang.Object
org.mycore.user2.MCRUser
org.mycore.user2.MCRTransientUser
- All Implemented Interfaces:
Serializable
,Cloneable
,MCRUserInformation
- Author:
- Thomas Scheffler (yagee)
- See Also:
-
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) Returns additional user attributes.Methods inherited from class org.mycore.user2.MCRUser
assignRole, clone, disableLogin, enableLogin, equals, getAttributes, getBasicCopy, getEMailAddress, getExternalRoleIDs, getHashType, getHint, getLastLogin, getOwner, getPassword, getRealm, getRealmID, getRealName, getSafeCopy, getSalt, getSystemRoleIDs, getUserID, getUserName, getValidUntil, hashCode, hasNoOwner, isDisabled, isLocked, isUserInRole, loginAllowed, setAttributes, setDisabled, setEMail, setHashType, setHint, setLastLogin, setLastLogin, setLocked, setOwner, setPassword, setRealName, setSalt, setUserAttribute, setValidUntil, unassignRole
-
Constructor Details
-
MCRTransientUser
-
-
Method Details
-
getUserAttribute
Description copied from class:MCRUser
Returns additional user attributes. This methods handlesMCRUserInformation.ATT_REAL_NAME
and all attributes defined inMCRUser.getAttributes()
.- Specified by:
getUserAttribute
in interfaceMCRUserInformation
- Overrides:
getUserAttribute
in classMCRUser
- Parameters:
attribute
- user attribute name- Returns:
- attribute value as String or null if no value is defined;
-