Package org.jboss.security
Interface SecurityDomain
-
- All Superinterfaces:
AuthenticationManager,BaseSecurityManager,RealmMapping,SubjectSecurityManager
public interface SecurityDomain extends SubjectSecurityManager, RealmMapping
The SecurityDomain interface combines the SubjectSecurityManager and RealmMapping interfaces and adds a keyStore and trustStore as well as JSSE KeyManagerFactory and TrustManagerFactory accessors for use with SSL/JSSE.- Version:
- $Revision$
- Author:
- Scott.Stark@jboss.org
- See Also:
KeyStore,KeyManagerFactory,TrustManagerFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyManagerFactorygetKeyManagerFactory()Get the KeyManagerFactory associated with the security domainKeyStoregetKeyStore()Get the keystore associated with the security domainTrustManagerFactorygetTrustManagerFactory()Get the TrustManagerFactory associated with the security domainKeyStoregetTrustStore()Get the truststore associated with the security domain.-
Methods inherited from interface org.jboss.security.AuthenticationManager
getActiveSubject, getTargetPrincipal, isValid, isValid, logout
-
Methods inherited from interface org.jboss.security.BaseSecurityManager
getSecurityDomain
-
Methods inherited from interface org.jboss.security.RealmMapping
doesUserHaveRole, getPrincipal, getUserRoles
-
-
-
-
Method Detail
-
getKeyStore
KeyStore getKeyStore() throws SecurityException
Get the keystore associated with the security domain- Throws:
SecurityException
-
getKeyManagerFactory
KeyManagerFactory getKeyManagerFactory() throws SecurityException
Get the KeyManagerFactory associated with the security domain- Throws:
SecurityException
-
getTrustStore
KeyStore getTrustStore() throws SecurityException
Get the truststore associated with the security domain. This may be the same as the keystore.- Throws:
SecurityException
-
getTrustManagerFactory
TrustManagerFactory getTrustManagerFactory() throws SecurityException
Get the TrustManagerFactory associated with the security domain- Throws:
SecurityException
-
-