Class CmisSecurityHandler
- java.lang.Object
-
- org.frankframework.extensions.cmis.server.CmisSecurityHandler
-
- All Implemented Interfaces:
ISecurityHandler
public class CmisSecurityHandler extends Object implements ISecurityHandler
Wraps the CMIS SecurityContext in an ISecurityHandler.- Author:
- Niels Meijer
-
-
Constructor Summary
Constructors Constructor Description CmisSecurityHandler(org.apache.chemistry.opencmis.commons.server.CallContext callContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CredentialFactorygetCredentials()Can be used to authenticate the user against another system or pass the authentication context through.PrincipalgetPrincipal(PipeLineSession session)booleanisUserInRole(String role, PipeLineSession session)
-
-
-
Method Detail
-
isUserInRole
public boolean isUserInRole(String role, PipeLineSession session) throws org.apache.commons.lang3.NotImplementedException
- Specified by:
isUserInRolein interfaceISecurityHandler- Throws:
org.apache.commons.lang3.NotImplementedException
-
getPrincipal
public Principal getPrincipal(PipeLineSession session) throws org.apache.commons.lang3.NotImplementedException
- Specified by:
getPrincipalin interfaceISecurityHandler- 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
-
-