org.jboss.security.identitytrust.modules
Class AbstractIdentityTrustModule

java.lang.Object
  extended by org.jboss.security.identitytrust.modules.AbstractIdentityTrustModule
All Implemented Interfaces:
org.jboss.security.identitytrust.IdentityTrustModule
Direct Known Subclasses:
AlwaysDenyTrustModule, AlwaysNotApplicableTrustModule, AlwaysPermitTrustModule, JavaEETrustModule

public abstract class AbstractIdentityTrustModule
extends Object
implements org.jboss.security.identitytrust.IdentityTrustModule

Abstract IdentityTrustModule that pulls in common stuff

Since:
Aug 2, 2007
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Field Summary
protected  CallbackHandler callbackHandler
           
protected  Map<String,Object> options
           
protected  org.jboss.security.SecurityContext securityContext
           
protected  Map<String,Object> sharedState
           
 
Constructor Summary
AbstractIdentityTrustModule()
           
 
Method Summary
 boolean abort()
           
 boolean commit()
           
 void initialize(org.jboss.security.SecurityContext sc, CallbackHandler handler, Map<String,Object> sharedState, Map<String,Object> options)
           
abstract  org.jboss.security.identitytrust.IdentityTrustManager.TrustDecision isTrusted()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securityContext

protected org.jboss.security.SecurityContext securityContext

callbackHandler

protected CallbackHandler callbackHandler

sharedState

protected Map<String,Object> sharedState

options

protected Map<String,Object> options
Constructor Detail

AbstractIdentityTrustModule

public AbstractIdentityTrustModule()
Method Detail

abort

public boolean abort()
              throws org.jboss.security.identitytrust.IdentityTrustException
Specified by:
abort in interface org.jboss.security.identitytrust.IdentityTrustModule
Throws:
org.jboss.security.identitytrust.IdentityTrustException
See Also:
IdentityTrustModule.abort()

commit

public boolean commit()
               throws org.jboss.security.identitytrust.IdentityTrustException
Specified by:
commit in interface org.jboss.security.identitytrust.IdentityTrustModule
Throws:
org.jboss.security.identitytrust.IdentityTrustException
See Also:
IdentityTrustModule.commit()

initialize

public void initialize(org.jboss.security.SecurityContext sc,
                       CallbackHandler handler,
                       Map<String,Object> sharedState,
                       Map<String,Object> options)
                throws org.jboss.security.identitytrust.IdentityTrustException
Specified by:
initialize in interface org.jboss.security.identitytrust.IdentityTrustModule
Throws:
org.jboss.security.identitytrust.IdentityTrustException
See Also:
IdentityTrustModule.initialize(SecurityContext, CallbackHandler, Map, Map)

isTrusted

public abstract org.jboss.security.identitytrust.IdentityTrustManager.TrustDecision isTrusted()
                                                                                       throws org.jboss.security.identitytrust.IdentityTrustException
Specified by:
isTrusted in interface org.jboss.security.identitytrust.IdentityTrustModule
Throws:
org.jboss.security.identitytrust.IdentityTrustException
See Also:
IdentityTrustModule.isTrusted()


Copyright © 2009 JBoss Inc.. All Rights Reserved.