|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.security.integration.JNDIBasedSecurityManagement
public class JNDIBasedSecurityManagement
JNDI Based Security Management
Field Summary | |
---|---|
protected String |
auditMgrClass
|
protected String |
authenticationMgrClass
|
protected String |
authorizationMgrClass
|
protected String |
BASE_CTX
|
protected static CallbackHandler |
callBackHandler
|
static String |
CBH
|
protected boolean |
enableAudit
Enable the Audit feature |
protected boolean |
enableIdentity
Enable the IdentityTrust feature |
protected String |
identityTrustMgrClass
|
protected static org.jboss.logging.Logger |
log
|
protected String |
mappingMgrClass
|
Constructor Summary | |
---|---|
JNDIBasedSecurityManagement()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CBH
protected static org.jboss.logging.Logger log
protected String BASE_CTX
protected String authenticationMgrClass
protected String authorizationMgrClass
protected String auditMgrClass
protected String identityTrustMgrClass
protected String mappingMgrClass
protected static transient CallbackHandler callBackHandler
protected boolean enableIdentity
protected boolean enableAudit
Constructor Detail |
---|
public JNDIBasedSecurityManagement()
Method Detail |
---|
public org.jboss.security.audit.AuditManager getAuditManager(String securityDomain)
getAuditManager
in interface org.jboss.security.ISecurityManagement
public org.jboss.security.AuthenticationManager getAuthenticationManager(String securityDomain)
getAuthenticationManager
in interface org.jboss.security.ISecurityManagement
public org.jboss.security.AuthorizationManager getAuthorizationManager(String securityDomain)
getAuthorizationManager
in interface org.jboss.security.ISecurityManagement
public org.jboss.security.identitytrust.IdentityTrustManager getIdentityTrustManager(String securityDomain)
getIdentityTrustManager
in interface org.jboss.security.ISecurityManagement
public org.jboss.security.mapping.MappingManager getMappingManager(String securityDomain)
getMappingManager
in interface org.jboss.security.ISecurityManagement
public void setAuthenticationMgrClass(String authenticationMgrClass)
public void setAuthorizationMgrClass(String authorizationMgrClass)
public void setAuditMgrClass(String auditMgrClass)
public void setIdentityTrustMgrClass(String identityTrustMgrClass)
public void setMappingMgrClass(String mappingMgrClass)
public void setCallBackHandler(CallbackHandler cbh)
public void setEnableAudit(boolean enableAudit)
public void setEnableIdentity(boolean enableIdentity)
public void setCachePolicy(org.jboss.util.CachePolicy cp)
public void setBaseContext(String ctx)
public static void setCacheTimeout(String securityDomain, int timeoutInSecs, int resInSecs)
securityDomain
- the name of the security domain cachetimeoutInSecs
- - the cache timeout in seconds.resInSecs
- - resolution of timeouts in seconds.public static void setDefaultCacheTimeout(int defaultCacheTimeout)
public static void setDefaultCacheResolution(int defaultCacheResolution)
public SecurityDomainContext createSecurityDomainContext(String securityDomain) throws Exception
Exception
public void registerJaasSecurityDomainInstance(JaasSecurityDomain domain) throws Exception
domain
- jsd
-
Exception
public void deregisterJaasSecurityDomainInstance(String securityDomain)
securityDomain
- jsd
-
Exception
public static void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |