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
IdentityTrustModule
abort
in interface IdentityTrustModule
IdentityTrustException
IdentityTrustModule.abort()
public boolean commit() throws IdentityTrustException
IdentityTrustModule
commit
in interface IdentityTrustModule
IdentityTrustException
IdentityTrustModule.commit()
public void initialize(SecurityContext sc, CallbackHandler handler, Map<String,Object> sharedState, Map<String,Object> options) throws IdentityTrustException
IdentityTrustModule
initialize
in interface IdentityTrustModule
handler
- a CallbackHandler if neededsharedState
- a Shared State passed to all modulesoptions
- configured optionsIdentityTrustException
IdentityTrustModule.initialize(SecurityContext, CallbackHandler, Map, Map)
public abstract IdentityTrustManager.TrustDecision isTrusted() throws IdentityTrustException
IdentityTrustModule
isTrusted
in interface IdentityTrustModule
IdentityTrustManager.TrustDecision.Permit
, IdentityTrustManager.TrustDecision.Deny
,
IdentityTrustManager.TrustDecision.NotApplicable
IdentityTrustException
IdentityTrustModule.isTrusted()
Copyright © 2016 JBoss by Red Hat. All rights reserved.