public class GCUBEAuthzChainAuthorizationController extends Object implements GCUBEServiceAuthorizationController
| Modifier and Type | Field and Description |
|---|---|
protected GCUBELog |
logger
Object logger.
|
CONTEXT, HEADERS, MESSAGE_CONTEXT| Constructor and Description |
|---|
GCUBEAuthzChainAuthorizationController() |
| Modifier and Type | Method and Description |
|---|---|
void |
authoriseCall(Map<String,Object> authzMap)
Checks if the call is authorized
|
void |
initialise(GCUBEServiceContext ctxt,
GCUBEServiceSecurityManager securityManager)
Initialise the manager with the context of the associated service.
|
boolean |
isSecurityEnabled() |
protected GCUBELog logger
public GCUBEAuthzChainAuthorizationController()
public void initialise(GCUBEServiceContext ctxt, GCUBEServiceSecurityManager securityManager) throws Exception
GCUBEServiceSecurityControllerinitialise in interface GCUBEServiceSecurityControllerctxt - the context.Exceptionpublic void authoriseCall(Map<String,Object> authzMap) throws GCUBEException
GCUBEServiceAuthorizationControllerauthoriseCall in interface GCUBEServiceAuthorizationControllerauthzMap - parameters for the authorization processGCUBEException - if the call is not authorized or if there are other problemspublic boolean isSecurityEnabled()
isSecurityEnabled in interface GCUBEServiceSecurityControllerCopyright © 2015. All Rights Reserved.