public interface GCUBESecurityController
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| Modifier and Type | Field and Description |
|---|---|
static String |
CREDENTIAL_PROPAGATION_POLICY |
static String |
PEER_SUBJECT |
static String |
SECURITY_ENABLED |
static String |
SERVER_URL |
static String |
SERVICE_INSTANCE |
static String |
SERVICE_NAME |
static String |
SERVICE_STRING |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkAccess(Map<String,Object> parameters)
Checks the access rights (authentication and authorization)
|
void |
init(Map<String,String> parameters)
Inits the controller
|
boolean |
isSecurityEnabled() |
void |
setSecurityEnabled(boolean securityEnabled) |
static final String SECURITY_ENABLED
static final String SERVER_URL
static final String CREDENTIAL_PROPAGATION_POLICY
static final String SERVICE_NAME
static final String PEER_SUBJECT
static final String SERVICE_STRING
static final String SERVICE_INSTANCE
boolean checkAccess(Map<String,Object> parameters)
parameters - all the needed parametersboolean isSecurityEnabled()
void setSecurityEnabled(boolean securityEnabled)
securityEnabled - Copyright © 2017. All Rights Reserved.