public abstract class AbstractIdentityTrustModule extends Object implements IdentityTrustModule
| Modifier and Type | Field and Description |
|---|---|
protected CallbackHandler |
callbackHandler |
protected Map<String,Object> |
options |
protected SecurityContext |
securityContext |
protected Map<String,Object> |
sharedState |
| Constructor and Description |
|---|
AbstractIdentityTrustModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort()
Abort the Trust Process
|
boolean |
commit()
The IdentityTrust Process has succeeded.
|
void |
initialize(SecurityContext sc,
CallbackHandler handler,
Map<String,Object> sharedState,
Map<String,Object> options)
Initialize the module with the SecurityContext
on which trust decisions will be made
|
abstract IdentityTrustManager.TrustDecision |
isTrusted()
Make the trust decision
|
protected SecurityContext securityContext
protected CallbackHandler callbackHandler
public boolean abort()
throws IdentityTrustException
IdentityTrustModuleabort in interface IdentityTrustModuleIdentityTrustExceptionIdentityTrustModule.abort()public boolean commit()
throws IdentityTrustException
IdentityTrustModulecommit in interface IdentityTrustModuleIdentityTrustExceptionIdentityTrustModule.commit()public void initialize(SecurityContext sc, CallbackHandler handler, Map<String,Object> sharedState, Map<String,Object> options) throws IdentityTrustException
IdentityTrustModuleinitialize in interface IdentityTrustModulehandler - a CallbackHandler if neededsharedState - a Shared State passed to all modulesoptions - configured optionsIdentityTrustExceptionIdentityTrustModule.initialize(SecurityContext, CallbackHandler, Map, Map)public abstract IdentityTrustManager.TrustDecision isTrusted() throws IdentityTrustException
IdentityTrustModuleisTrusted in interface IdentityTrustModuleIdentityTrustManager.TrustDecision.Permit, IdentityTrustManager.TrustDecision.Deny,
IdentityTrustManager.TrustDecision.NotApplicableIdentityTrustExceptionIdentityTrustModule.isTrusted()Copyright © 2018 JBoss by Red Hat. All rights reserved.