| Modifier and Type | Method and Description |
|---|---|
Set<GCUBEScope> |
GCUBEServiceContext.addScope(GCUBEScope... scopes)
Adds one or more scopes to the service instance.
|
Set<GCUBEScope> |
GHNContext.addScope(GCUBEScope... scopes)
Adds one or more scopes to the GHN.
|
void |
GHNContext.delegateCredentials(GCUBEServiceContext context,
GSSCredential credentials)
Delegates credentials to a service.
|
SecurityCredentials |
GCUBEServiceContext.getCallerCredentials()
If security is enabled, it extracts credentials from the current request.
|
SecurityCredentials |
GCUBEServiceContext.getCredentials()
It returns the credentials for outgoing calls currently set in the current thread.
|
GCUBEScope |
GCUBEServiceContext.getScope()
Deprecated.
as to 1.6.0 use
ScopeProvider#instance#get(). |
GCUBEScopeManager |
GCUBEServiceContext.getScopeManager()
Deprecated.
as to 1.6.0 use
ScopeProvider.instance instead |
Set<GCUBEServiceContext> |
GHNContext.getServiceContexts()
Returns all the registered service contexts (no matter about which status they have)
|
SecurityCredentials |
GCUBEServiceContext.getServiceCredentials()
If security is enabled, it returns the service credentials.
|
boolean |
GCUBEServiceContext.needServiceCredentials()
Indicates whether the service makes use of service credentials.
|
void |
GCUBEServiceContext.prepareCall(Remote remote,
String clazz,
String name,
GCUBEScope... scope)
Deprecated.
as to 1.6.0 calls are prepared internally to
GCUBERemotePortTypeContexts. |
void |
GCUBEServiceContext.propagateCallerCredentials(boolean propagateCallerCredentials)
Indicates whether the service, without any further configurationm, makes
use of caller credentials: by default is true and, if false, the service will
use its own credentials (without further configuration) to perform calls
|
void |
GHNContext.registerService(GCUBEServiceContext context)
Registers a service context in the current node.
|
Set<GCUBEScope> |
GCUBEServiceContext.removeScope(GCUBEScope... scopes)
Removes one or more scopes from the service instance.
|
Set<GCUBEScope> |
GHNContext.removeScope(GCUBEScope... scopes)
Removes one or more scopes from the GHN.
|
void |
GHNContext.restart(String... message)
Restarts the gHN.
|
void |
GHNContext.restartAndClean(String... message) |
void |
GCUBEServiceContext.setAuthMethod(GCUBESecurityManager.AuthMethod m)
Adds an authentication method to be used in this security context
|
void |
GCUBEServiceContext.setScope(GCUBEScope scope)
Associates a scope with the current thread.
|
void |
GCUBEServiceContext.setScope(Thread thread,
GCUBEScope... scope)
Deprecated.
as to 1.6.0, using
ScopeProvider.instance does not require setting scopes on child threads. |
void |
GCUBEServiceContext.setScope(Thread thread,
GCUBEScope scope)
Deprecated.
as to 1.6.0, using
ScopeProvider.instance does not require setting scopes on child threads. |
void |
GCUBEServiceContext.setSecurity(Remote s,
GCUBESecurityManager.AuthMode e,
GCUBESecurityManager.DelegationMode d)
If security is enabled, sets the desired level of encryption and the mode of credential delegation
on the stub of a remote porttype.
|
void |
GCUBEServiceContext.setStatus(GCUBEServiceContext.Status status)
Sets the current status of the service.
|
void |
GHNContext.shutdown(String... message)
Shuts down the gHN.
|
void |
GHNContext.subscribeForCredential(CredentialConsumer consumer)
Subscribes a consumer to
CredentialDelegationEvents. |
void |
GHNContext.subscribeForCredentialRequest(CredentialRequestConsumer consumer)
Subscribes a consumer to
CredentialRequestEvents. |
void |
GCUBEServiceContext.useCallerCredentials(Thread... thread)
If security is enabled, it indicates that outgoing calls in a given thread
must use the credentials associated with the incoming call.
|
void |
GCUBEServiceContext.useCredentials(GSSCredential credentials)
Deprecated.
|
void |
GCUBEServiceContext.useCredentials(SecurityCredentials credentials)
If security is enabled, it sets given credentials for outgoing calls in the current thread.
|
void |
GCUBEServiceContext.useCredentials(Thread thread,
SecurityCredentials... credentials)
If security is enabled, it sets given credentials for outgoing calls in a
given thread.
|
void |
GCUBEServiceContext.useServiceCredentials(Thread... thread)
If security is enabled, it indicates that outgoing calls in the
current thread must use service credentials.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GCUBERINoPersistenceManager.commit()
Commits the state of the running instance.
|
void |
GCUBERINoPersistenceManager.recover()
Recovers the state of the running instance.
|
void |
GCUBERIPersistenceManager.recover()
Recovers the state of the running instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RunningInstanceSecurity.Identity.setCASubject(String value)
Sets the value of the caSubject property.
|
void |
RunningInstanceSecurity.setEntryName(String value)
Sets the value of the entryName property.
|
void |
RunningInstanceSecurity.Identity.setSubject(String value)
Sets the value of the subject property.
|
| Modifier and Type | Method and Description |
|---|---|
Class<AccessControlProxyContext.Restricted> |
AccessControlProxyContext.getAnnotationClass()
Returns the class of the primary annotation.
|
Copyright © 2015. All Rights Reserved.