public class IdentityStoreInvocationContext extends Object
| Constructor and Description |
|---|
IdentityStoreInvocationContext(IdentityManager identityManager,
IdentityCache cache,
EventBridge eventBridge,
CredentialHandlerFactory factory,
IdGenerator idGenerator) |
| 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()
Returns the current
Partition. |
Realm |
getRealm()
Return the active Realm for this context
|
Tier |
getTier()
Return the active Tier for this context
|
boolean |
isParameterSet(String paramName)
Returns a boolean indicating whether the parameter with the specified name has been set
|
void |
setParameter(String paramName,
Object value)
Sets a parameter value
|
void |
setRealm(Realm realm)
Sets the active Realm for this context
|
void |
setTier(Tier tier)
Sets the active Tier for this context
|
public IdentityStoreInvocationContext(IdentityManager identityManager, IdentityCache cache, EventBridge eventBridge, CredentialHandlerFactory factory, IdGenerator idGenerator)
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 Realm getRealm()
public void setRealm(Realm realm)
realm - public Tier getTier()
public void setTier(Tier tier)
tier - public Partition getPartition()
Returns the current Partition. It can be a Realm or a Tier. If the Tier is setted it will
be returned otherwise the Realm.
public IdentityManager getIdentityManager()
Copyright © 2013. All Rights Reserved.