public class SOA3IntegrationServiceCredentialInserter extends GCUBEServiceSecurityConfigurationManager
org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeEvent, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic| Modifier and Type | Field and Description |
|---|---|
protected Map<Thread,Element> |
callCredentials
Cache of credentials indexed by thread id.
|
authMethod, logger, producer, serviceCredentials| Constructor and Description |
|---|
SOA3IntegrationServiceCredentialInserter() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.core.security.SecurityCredentials |
getCallerCredentials() |
org.gcube.common.core.security.SecurityCredentials |
getCredentials() |
org.gcube.common.core.security.SecurityCredentials |
getServiceCredentials() |
void |
initialise(org.gcube.common.core.contexts.GCUBEServiceContext ctxt) |
boolean |
isSecurityEnabled() |
boolean |
needServiceCredentials() |
void |
propagateCallerCredentials(boolean propagateCallerCredentials) |
void |
setSecurity(Remote s,
org.gcube.common.core.security.GCUBESecurityManager.AuthMode e,
org.gcube.common.core.security.GCUBESecurityManager.DelegationMode d) |
void |
useCredentials(GSSCredential credentials) |
void |
useCredentials(org.gcube.common.core.security.SecurityCredentials credentials) |
void |
useCredentials(Thread thread,
org.gcube.common.core.security.SecurityCredentials... credentials) |
getPolicy, setAuthMethod, subscribe, unsubscribepublic SOA3IntegrationServiceCredentialInserter()
public boolean isSecurityEnabled()
public void useCredentials(GSSCredential credentials) throws Exception
useCredentials in interface org.gcube.common.core.security.GCUBESecurityManageruseCredentials in class GCUBEServiceSecurityConfigurationManagerExceptionpublic void useCredentials(org.gcube.common.core.security.SecurityCredentials credentials)
throws Exception
Exceptionpublic void useCredentials(Thread thread, org.gcube.common.core.security.SecurityCredentials... credentials) throws Exception
Exceptionpublic org.gcube.common.core.security.SecurityCredentials getCredentials()
public void setSecurity(Remote s, org.gcube.common.core.security.GCUBESecurityManager.AuthMode e, org.gcube.common.core.security.GCUBESecurityManager.DelegationMode d) throws Exception
Exceptionpublic void initialise(org.gcube.common.core.contexts.GCUBEServiceContext ctxt)
throws Exception
GCUBEServiceSecurityConfigurationManagerinitialise in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerinitialise in class GCUBEServiceSecurityConfigurationManagerExceptionpublic org.gcube.common.core.security.SecurityCredentials getServiceCredentials()
throws Exception
GCUBEServiceSecurityConfigurationManagergetServiceCredentials in interface org.gcube.common.core.security.GCUBEServiceSecurityManagergetServiceCredentials in class GCUBEServiceSecurityConfigurationManagerExceptionpublic org.gcube.common.core.security.SecurityCredentials getCallerCredentials()
throws Exception
Exceptionpublic boolean needServiceCredentials()
public void propagateCallerCredentials(boolean propagateCallerCredentials)
GCUBEServiceSecurityConfigurationManagerpropagateCallerCredentials in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerpropagateCallerCredentials in class GCUBEServiceSecurityConfigurationManagerCopyright © 2013. All Rights Reserved.