Class CmisSecurityHandler
java.lang.Object
org.frankframework.extensions.cmis.server.CmisSecurityHandler
- All Implemented Interfaces:
ISecurityHandler
Wraps the CMIS SecurityContext in an ISecurityHandler.
- Author:
- Niels Meijer
-
Constructor Summary
ConstructorsConstructorDescriptionCmisSecurityHandler
(org.apache.chemistry.opencmis.commons.server.CallContext callContext) -
Method Summary
Modifier and TypeMethodDescriptionCan be used to authenticate the user against another system or pass the authentication context through.boolean
isUserInRole
(String role)
-
Constructor Details
-
CmisSecurityHandler
public CmisSecurityHandler(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
-
-
Method Details
-
isUserInRole
- Specified by:
isUserInRole
in interfaceISecurityHandler
- Throws:
org.apache.commons.lang3.NotImplementedException
-
getPrincipal
- Specified by:
getPrincipal
in interfaceISecurityHandler
- Throws:
org.apache.commons.lang3.NotImplementedException
-
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
-