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 Details

  • Constructor Details

    • ContainerUserInformation

      public ContainerUserInformation(MCRSession session)
  • Method Details

    • getUserID

      public String 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 interface MCRUserInformation
    • isUserInRole

      public boolean isUserInRole(String role)
      Description copied from interface: MCRUserInformation
      The role information is used in group clauses of the ACL System.
      Specified by:
      isUserInRole in interface MCRUserInformation
    • getUserAttribute

      public String getUserAttribute(String attribute)
      Description copied from interface: MCRUserInformation
      Get additional attributes if they are provided by the underlying user system
      Specified by:
      getUserAttribute in interface MCRUserInformation
      Parameters:
      attribute - user attribute name
      Returns:
      attribute value as String or null if no value is defined;
    • getCurrentRequest

      protected Optional<jakarta.servlet.http.HttpServletRequest> getCurrentRequest()