Package org.mycore.frontend.servlets
Class MCRContainerLoginServlet.ContainerUserInformation
java.lang.Object
org.mycore.frontend.servlets.MCRContainerLoginServlet.ContainerUserInformation
- All Implemented Interfaces:
MCRUserInformation
- Enclosing class:
- MCRContainerLoginServlet
protected static class MCRContainerLoginServlet.ContainerUserInformation
extends Object
implements MCRUserInformation
-
Field Summary
Fields inherited from interface org.mycore.common.MCRUserInformation
ATT_EMAIL, ATT_PRIMARY_GROUP, ATT_REAL_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Optional<jakarta.servlet.http.HttpServletRequest>
getUserAttribute
(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.
-
Field Details
-
session
-
-
Constructor Details
-
ContainerUserInformation
-
-
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;
-
getCurrentRequest
-