org.jboss.security.identitytrust
Class IdentityTrustContext

java.lang.Object
  extended by org.jboss.security.identitytrust.IdentityTrustContext

public abstract class IdentityTrustContext
extends Object

Identity Trust Context that encloses multiple IdentityTrustModules making trust decisions

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

Field Summary
protected  CallbackHandler callbackHandler
          Any Callback Handler
protected  ArrayList<ControlFlag> controlFlags
          Control Flags for the individual modules
protected  IdentityTrustManager.TrustDecision DENY
           
protected  List<IdentityTrustModule> modules
          List of Identity Trust Modules
protected  IdentityTrustManager.TrustDecision NOTAPPLICABLE
           
protected  IdentityTrustManager.TrustDecision PERMIT
           
protected  SecurityContext securityContext
          Security Context On which the Trust Context needs to make a decision on.
protected  String securityDomain
          Security Domain of the Identity Trust Context
protected  Map<String,Object> sharedState
          Shared State between trust modules
 
Constructor Summary
IdentityTrustContext()
           
 
Method Summary
abstract  IdentityTrustManager.TrustDecision isTrusted()
          Make a trust decision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DENY

protected IdentityTrustManager.TrustDecision DENY

PERMIT

protected IdentityTrustManager.TrustDecision PERMIT

NOTAPPLICABLE

protected IdentityTrustManager.TrustDecision NOTAPPLICABLE

securityContext

protected SecurityContext securityContext
Security Context On which the Trust Context needs to make a decision on. The security domain driving this security context need not be the same as the one for this Trust Context


callbackHandler

protected CallbackHandler callbackHandler
Any Callback Handler


sharedState

protected Map<String,Object> sharedState
Shared State between trust modules


securityDomain

protected String securityDomain
Security Domain of the Identity Trust Context


modules

protected List<IdentityTrustModule> modules
List of Identity Trust Modules


controlFlags

protected ArrayList<ControlFlag> controlFlags
Control Flags for the individual modules

Constructor Detail

IdentityTrustContext

public IdentityTrustContext()
Method Detail

isTrusted

public abstract IdentityTrustManager.TrustDecision isTrusted()
                                                      throws IdentityTrustException
Make a trust decision

Returns:
IdentityTrustManager.TrustDecision.Deny,IdentityTrustManager.TrustDecision.NotApplicable, IdentityTrustManager.TrustDecision.Permit
Throws:
IdentityTrustException


Copyright © 2009 JBoss Inc.. All Rights Reserved.