Package org.jboss.security.identitytrust
Interface IdentityTrustModule
-
- All Known Implementing Classes:
AbstractIdentityTrustModule,AlwaysDenyTrustModule,AlwaysNotApplicableTrustModule,AlwaysPermitTrustModule,JavaEETrustModule
public interface IdentityTrustModuleIdentityTrustModule that is capable of making trust decisions- Since:
- Aug 2, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanabort()Abort the Trust Processbooleancommit()The IdentityTrust Process has succeeded.voidinitialize(SecurityContext securityContext, CallbackHandler handler, Map<String,Object> sharedState, Map<String,Object> options)Initialize the module with the SecurityContext on which trust decisions will be madeIdentityTrustManager.TrustDecisionisTrusted()Make the trust decision
-
-
-
Method Detail
-
abort
boolean abort() throws IdentityTrustExceptionAbort the Trust Process- Returns:
- true -abort process succeeded
- Throws:
IdentityTrustException
-
commit
boolean commit() throws IdentityTrustExceptionThe IdentityTrust Process has succeeded. The module can commit its decision (maybe to a Database)- Returns:
- - commit process succeeded
- Throws:
IdentityTrustException
-
initialize
void initialize(SecurityContext securityContext, CallbackHandler handler, Map<String,Object> sharedState, Map<String,Object> options) throws IdentityTrustException
Initialize the module with the SecurityContext on which trust decisions will be made- Parameters:
securityContext-handler- a CallbackHandler if neededsharedState- a Shared State passed to all modulesoptions- configured options- Throws:
IdentityTrustException
-
isTrusted
IdentityTrustManager.TrustDecision isTrusted() throws IdentityTrustException
Make the trust decision
-
-