org.gcube.security.soa3.connector.integration.server
Class SOA3IntegrationServiceCredentialInserter
java.lang.Object
org.gcube.security.soa3.connector.integration.server.GCUBEServiceSecurityConfigurationManager
org.gcube.security.soa3.connector.integration.server.SOA3IntegrationServiceCredentialInserter
- All Implemented Interfaces:
- org.gcube.common.core.security.GCUBESecurityManager, org.gcube.common.core.security.GCUBEServiceSecurityManager
public class SOA3IntegrationServiceCredentialInserter
- extends GCUBEServiceSecurityConfigurationManager
| Nested classes/interfaces inherited from interface org.gcube.common.core.security.GCUBEServiceSecurityManager |
org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeEvent, org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic |
| Nested classes/interfaces inherited from interface org.gcube.common.core.security.GCUBESecurityManager |
org.gcube.common.core.security.GCUBESecurityManager.AuthMethod, org.gcube.common.core.security.GCUBESecurityManager.AuthMode, org.gcube.common.core.security.GCUBESecurityManager.DelegationMode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
callCredentials
protected Map<Thread,Element> callCredentials
- Cache of credentials indexed by thread id.
SOA3IntegrationServiceCredentialInserter
public SOA3IntegrationServiceCredentialInserter()
isSecurityEnabled
public boolean isSecurityEnabled()
useCredentials
public void useCredentials(GSSCredential credentials)
throws Exception
- Specified by:
useCredentials in interface org.gcube.common.core.security.GCUBESecurityManager- Overrides:
useCredentials in class GCUBEServiceSecurityConfigurationManager
- Throws:
Exception
useCredentials
public void useCredentials(org.gcube.common.core.security.SecurityCredentials credentials)
throws Exception
- Throws:
Exception
useCredentials
public void useCredentials(Thread thread,
org.gcube.common.core.security.SecurityCredentials... credentials)
throws Exception
- Throws:
Exception
getCredentials
public org.gcube.common.core.security.SecurityCredentials getCredentials()
setSecurity
public void setSecurity(Remote s,
org.gcube.common.core.security.GCUBESecurityManager.AuthMode e,
org.gcube.common.core.security.GCUBESecurityManager.DelegationMode d)
throws Exception
- Throws:
Exception
initialise
public void initialise(org.gcube.common.core.contexts.GCUBEServiceContext ctxt)
throws Exception
- Description copied from class:
GCUBEServiceSecurityConfigurationManager
-
- Specified by:
initialise in interface org.gcube.common.core.security.GCUBEServiceSecurityManager- Overrides:
initialise in class GCUBEServiceSecurityConfigurationManager
- Throws:
Exception
getServiceCredentials
public org.gcube.common.core.security.SecurityCredentials getServiceCredentials()
throws Exception
- Description copied from class:
GCUBEServiceSecurityConfigurationManager
-
- Specified by:
getServiceCredentials in interface org.gcube.common.core.security.GCUBEServiceSecurityManager- Overrides:
getServiceCredentials in class GCUBEServiceSecurityConfigurationManager
- Throws:
Exception
getCallerCredentials
public org.gcube.common.core.security.SecurityCredentials getCallerCredentials()
throws Exception
- Throws:
Exception
needServiceCredentials
public boolean needServiceCredentials()
propagateCallerCredentials
public void propagateCallerCredentials(boolean propagateCallerCredentials)
- Description copied from class:
GCUBEServiceSecurityConfigurationManager
-
- Specified by:
propagateCallerCredentials in interface org.gcube.common.core.security.GCUBEServiceSecurityManager- Overrides:
propagateCallerCredentials in class GCUBEServiceSecurityConfigurationManager
Copyright © 2013. All Rights Reserved.