public abstract class GCUBEServiceSecurityConfigurationManager extends Object implements 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| Modifier and Type | Field and Description |
|---|---|
protected org.gcube.common.core.security.GCUBESecurityManager.AuthMethod |
authMethod
Authentication method
|
protected org.gcube.common.core.contexts.GCUBEServiceContext |
context
Service context.
|
protected org.gcube.common.core.utils.logging.GCUBELog |
logger
Object logger.
|
protected org.gcube.common.core.utils.events.GCUBEProducer<org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic,Object> |
producer
Inner producer of lifetime events.
|
protected boolean |
propagateCallerCredentials
Use Caller credentials by default
|
protected org.gcube.common.core.security.SecurityCredentials |
serviceCredentials
Inner security credentials
|
| Constructor and Description |
|---|
GCUBEServiceSecurityConfigurationManager() |
| Modifier and Type | Method and Description |
|---|---|
org.gcube.common.core.security.GCUBEAuthzPolicy |
getPolicy() |
org.gcube.common.core.security.SecurityCredentials |
getServiceCredentials() |
void |
initialise(org.gcube.common.core.contexts.GCUBEServiceContext ctxt) |
void |
propagateCallerCredentials(boolean propagateCallerCredentials) |
void |
setAuthMethod(org.gcube.common.core.security.GCUBESecurityManager.AuthMethod m) |
void |
subscribe(org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer c,
org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic... topics) |
void |
unsubscribe(org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer c,
org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic... topics) |
void |
useCredentials(GSSCredential credentials) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected org.gcube.common.core.utils.logging.GCUBELog logger
protected org.gcube.common.core.contexts.GCUBEServiceContext context
protected org.gcube.common.core.utils.events.GCUBEProducer<org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic,Object> producer
protected org.gcube.common.core.security.SecurityCredentials serviceCredentials
protected org.gcube.common.core.security.GCUBESecurityManager.AuthMethod authMethod
protected boolean propagateCallerCredentials
public GCUBEServiceSecurityConfigurationManager()
public void initialise(org.gcube.common.core.contexts.GCUBEServiceContext ctxt)
throws Exception
initialise in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerExceptionpublic void subscribe(org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer c,
org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic... topics)
subscribe in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerpublic void unsubscribe(org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeConsumer c,
org.gcube.common.core.security.GCUBEServiceSecurityManager.LifetimeTopic... topics)
unsubscribe in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerpublic org.gcube.common.core.security.SecurityCredentials getServiceCredentials()
throws Exception
getServiceCredentials in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerExceptionpublic org.gcube.common.core.security.GCUBEAuthzPolicy getPolicy()
getPolicy in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerpublic void setAuthMethod(org.gcube.common.core.security.GCUBESecurityManager.AuthMethod m)
setAuthMethod in interface org.gcube.common.core.security.GCUBESecurityManagerpublic void propagateCallerCredentials(boolean propagateCallerCredentials)
propagateCallerCredentials in interface org.gcube.common.core.security.GCUBEServiceSecurityManagerpublic void useCredentials(GSSCredential credentials) throws Exception
useCredentials in interface org.gcube.common.core.security.GCUBESecurityManagerExceptionCopyright © 2015. All Rights Reserved.