org.gcube.common.core.security.impl
Class GCUBESimpleServiceAuthController
java.lang.Object
org.gcube.common.core.security.impl.GCUBESimpleServiceAuthController
- All Implemented Interfaces:
- GCUBEServiceAuthenticationController, GCUBEServiceAuthorizationController, GCUBEServiceSecurityController
public class GCUBESimpleServiceAuthController
- extends Object
- implements GCUBEServiceAuthenticationController, GCUBEServiceAuthorizationController
Does Nothing
- Author:
- Ciro Formisano
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GCUBESimpleServiceAuthController
public GCUBESimpleServiceAuthController()
initialise
public void initialise(GCUBEServiceContext ctxt,
GCUBEServiceSecurityManager securityConfigurationManager)
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> parameters)
throws GCUBEException
- Description copied from interface:
GCUBEServiceAuthorizationController
- Checks if the call is authorized
- Specified by:
authoriseCall in interface GCUBEServiceAuthorizationController
- Parameters:
parameters - parameters for the authorization process
- Throws:
GCUBEException - if the call is not authorized or if there are other problems
authenticateCall
public void authenticateCall(Map<String,Object> parameters)
throws GCUBEException
- Description copied from interface:
GCUBEServiceAuthenticationController
- Authenticates the call
- Specified by:
authenticateCall in interface GCUBEServiceAuthenticationController
- Parameters:
parameters - the parameters of the call
- Throws:
GCUBEException - if the call is not authenticated or if there are problems
isSecurityEnabled
public boolean isSecurityEnabled()
- Specified by:
isSecurityEnabled in interface GCUBEServiceSecurityController
- Returns:
- true if the security is enabled for this security descriptor
Copyright © 2012. All Rights Reserved.