Class JBossIdentityTrustManager
- java.lang.Object
-
- org.jboss.security.plugins.identitytrust.JBossIdentityTrustManager
-
- All Implemented Interfaces:
BaseSecurityManager
,IdentityTrustManager
public class JBossIdentityTrustManager extends Object implements IdentityTrustManager
Identity Trust Manager default implementation- Since:
- Aug 2, 2007
- Version:
- $Revision$
- Author:
- Anil.Saldhana@redhat.com
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.security.identitytrust.IdentityTrustManager
IdentityTrustManager.TrustDecision
-
-
Constructor Summary
Constructors Constructor Description JBossIdentityTrustManager(String securityDomain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSecurityDomain()
Get the security domain from which the security manager is from.IdentityTrustManager.TrustDecision
isTrusted(SecurityContext securityContext)
Make a Trust Decision on a security contextvoid
setIdentityTrustContext(IdentityTrustContext identityTrustContext)
-
-
-
Constructor Detail
-
JBossIdentityTrustManager
public JBossIdentityTrustManager(String securityDomain)
-
-
Method Detail
-
setIdentityTrustContext
public void setIdentityTrustContext(IdentityTrustContext identityTrustContext)
-
isTrusted
public IdentityTrustManager.TrustDecision isTrusted(SecurityContext securityContext)
Description copied from interface:IdentityTrustManager
Make a Trust Decision on a security context- Specified by:
isTrusted
in interfaceIdentityTrustManager
- Parameters:
securityContext
- Security Context on which to act on- Returns:
- See Also:
IdentityTrustManager.isTrusted(org.jboss.security.SecurityContext)
-
getSecurityDomain
public String getSecurityDomain()
Description copied from interface:BaseSecurityManager
Get the security domain from which the security manager is from. Every security manager belongs to a named domain. The meaning of the security domain name depends on the implementation. Examples range from as fine grained as the name of EJBs to J2EE application names to DNS domain names.- Specified by:
getSecurityDomain
in interfaceBaseSecurityManager
- Returns:
- the security domain name. May be null in which case the security manager belongs to the logical default domain.
-
-