public class GCUBESimpleServiceAuthController extends Object implements GCUBEServiceAuthenticationController, GCUBEServiceAuthorizationController
CONTEXT, HEADERS, MESSAGE_CONTEXT| Constructor and Description |
|---|
GCUBESimpleServiceAuthController() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticateCall(Map<String,Object> parameters)
Authenticates the call
|
void |
authoriseCall(Map<String,Object> parameters)
Checks if the call is authorized
|
void |
initialise(GCUBEServiceContext ctxt,
GCUBEServiceSecurityManager securityConfigurationManager)
Initialise the manager with the context of the associated service.
|
boolean |
isSecurityEnabled() |
public void initialise(GCUBEServiceContext ctxt, GCUBEServiceSecurityManager securityConfigurationManager) throws Exception
GCUBEServiceSecurityControllerinitialise in interface GCUBEServiceSecurityControllerctxt - the context.Exceptionpublic void authoriseCall(Map<String,Object> parameters) throws GCUBEException
GCUBEServiceAuthorizationControllerauthoriseCall in interface GCUBEServiceAuthorizationControllerparameters - parameters for the authorization processGCUBEException - if the call is not authorized or if there are other problemspublic void authenticateCall(Map<String,Object> parameters) throws GCUBEException
GCUBEServiceAuthenticationControllerauthenticateCall in interface GCUBEServiceAuthenticationControllerparameters - the parameters of the callGCUBEException - if the call is not authenticated or if there are problemspublic boolean isSecurityEnabled()
isSecurityEnabled in interface GCUBEServiceSecurityControllerCopyright © 2015. All Rights Reserved.