org.gcube.common.core.security
Interface GCUBESecurityController
public interface GCUBESecurityController
This interface will replace GCUBESecurityController, GCUBEServiceAuthenticationController and GCUBEServiceAuthorizationController
to manage the authentication and authorization control. Currently in the security library there is an implementation of GCUBESecurityController
that will supporth both the paradigms for a certain period: in the next release the old security library will be progressively abandoned
- Author:
- Ciro Formisano (ENG)
SECURITY_ENABLED
static final String SECURITY_ENABLED
- See Also:
- Constant Field Values
SERVER_URL
static final String SERVER_URL
- See Also:
- Constant Field Values
CREDENTIAL_PROPAGATION_POLICY
static final String CREDENTIAL_PROPAGATION_POLICY
- See Also:
- Constant Field Values
init
void init(GCUBEServiceContext serviceContext)
- Inits the controller
- Parameters:
serviceContext -
checkAccess
boolean checkAccess(Map<String,Object> parameters)
- Checks the access rights (authentication and authorization)
- Parameters:
parameters - all the needed parameters
- Returns:
- true if the access is granted, false otherwise
Copyright © 2012. All Rights Reserved.