Class CmisSecurityHandler

  • All Implemented Interfaces:
    ISecurityHandler

    public class CmisSecurityHandler
    extends Object
    implements ISecurityHandler
    Wraps the CMIS SecurityContext in an ISecurityHandler.
    Author:
    Niels Meijer
    • Constructor Detail

      • CmisSecurityHandler

        public CmisSecurityHandler​(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
    • Method Detail

      • isUserInRole

        public boolean isUserInRole​(String role,
                                    PipeLineSession session)
                             throws org.apache.commons.lang3.NotImplementedException
        Specified by:
        isUserInRole in interface ISecurityHandler
        Throws:
        org.apache.commons.lang3.NotImplementedException
      • getCredentials

        public CredentialFactory getCredentials()
        Can be used to authenticate the user against another system or pass the authentication context through.
        Returns:
        the user's credentials wrapped in a CredentialFactory