org.gcube.common.core.security.impl
Class GCUBEAuthzChainAuthorizationController
java.lang.Object
org.gcube.common.core.security.impl.GCUBEAuthzChainAuthorizationController
- All Implemented Interfaces:
- GCUBEServiceAuthorizationController, GCUBEServiceSecurityController
public class GCUBEAuthzChainAuthorizationController
- extends Object
- implements GCUBEServiceAuthorizationController
Authorization controller based on the authorization chain configured in the security descriptor
- Author:
- Ciro Formisano (ENG)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected GCUBELog logger
- Object logger.
GCUBEAuthzChainAuthorizationController
public GCUBEAuthzChainAuthorizationController()
initialise
public void initialise(GCUBEServiceContext ctxt,
GCUBEServiceSecurityManager securityManager)
throws Exception
- Description copied from interface:
GCUBEServiceSecurityController
- Initialise the manager with the context of the associated service.
- Specified by:
initialise in interface GCUBEServiceSecurityController
- Parameters:
ctxt - the context.
- Throws:
Exception
authoriseCall
public void authoriseCall(Map<String,Object> authzMap)
throws GCUBEException
- Description copied from interface:
GCUBEServiceAuthorizationController
- Checks if the call is authorized
- Specified by:
authoriseCall in interface GCUBEServiceAuthorizationController
- Parameters:
authzMap - parameters for the authorization process
- Throws:
GCUBEException - if the call is not authorized or if there are other problems
isSecurityEnabled
public boolean isSecurityEnabled()
-
- Specified by:
isSecurityEnabled in interface GCUBEServiceSecurityController
- Returns:
- true if the security is enabled for this security descriptor
Copyright © 2013. All Rights Reserved.