public class SecurityContext extends Object
Constructor and Description |
---|
SecurityContext(IdentityCache cache,
EventBridge eventBridge,
CredentialHandlerFactory factory,
IdGenerator idGenerator,
Partition partition) |
Modifier and Type | Method and Description |
---|---|
IdentityCache |
getCache()
Returns the cache for this invocation context.
|
CredentialHandler |
getCredentialUpdater(Class<?> credentialClass,
IdentityStore identityStore)
Returns a CredentialHandler instance capable of updating a credential of the specified Credentials class, for the
specified IdentityStore class
|
CredentialHandler |
getCredentialValidator(Class<? extends Credentials> credentialsClass,
IdentityStore identityStore)
Returns a CredentialHandler instance capable of validating a credential of the specified Credentials class, for the
specified IdentityStore class
|
EventBridge |
getEventBridge() |
IdentityManager |
getIdentityManager() |
IdGenerator |
getIdGenerator() |
Object |
getParameter(String paramName)
Returns the parameter value with the specified name
|
Partition |
getPartition()
Return the active Partition for this context
|
boolean |
isParameterSet(String paramName)
Returns a boolean indicating whether the parameter with the specified name has been set
|
void |
setIdentityManager(IdentityManager identityManager) |
void |
setParameter(String paramName,
Object value)
Sets a parameter value
|
public SecurityContext(IdentityCache cache, EventBridge eventBridge, CredentialHandlerFactory factory, IdGenerator idGenerator, Partition partition)
public CredentialHandler getCredentialValidator(Class<? extends Credentials> credentialsClass, IdentityStore identityStore)
credentialsClass
- identityStoreClass
- public CredentialHandler getCredentialUpdater(Class<?> credentialClass, IdentityStore identityStore)
credentialClass
- identityStoreClass
- public IdentityCache getCache()
public Object getParameter(String paramName)
public boolean isParameterSet(String paramName)
paramName
- public void setParameter(String paramName, Object value)
paramName
- value
- public EventBridge getEventBridge()
public IdGenerator getIdGenerator()
public Partition getPartition()
public void setIdentityManager(IdentityManager identityManager)
public IdentityManager getIdentityManager()
Copyright © 2013. All Rights Reserved.