Save This Page
Home » jboss-5.0.0.CR1-src » org » jboss » security » plugins » [javadoc | source]
org.jboss.security.plugins
public class: JaasSecurityDomain [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.security.plugins.JaasSecurityManager
            org.jboss.security.plugins.JaasSecurityDomain

All Implemented Interfaces:
    JaasSecurityDomainMBean, SecurityDomain, RealmMapping, SubjectSecurityManager, org.jboss.kernel.spi.dependency.KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

The JaasSecurityDomain is an extension of JaasSecurityManager that addes the notion of a KeyStore, and JSSE KeyManagerFactory and TrustManagerFactory for supporting SSL and other cryptographic use cases. Attributes:
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public JaasSecurityDomain() 
 public JaasSecurityDomain(String securityDomain) 
    Creates a JaasSecurityDomain for with a securityDomain name of that given by the 'securityDomain' argument.
    Parameters:
    securityDomain - , the name of the security domain
 public JaasSecurityDomain(String securityDomain,
    CallbackHandler handler) 
    Creates a JaasSecurityDomain for with a securityDomain name of that given by the 'securityDomain' argument.
    Parameters:
    securityDomain - , the name of the security domain
    handler - , the CallbackHandler to use to obtain login module info
Method from org.jboss.security.plugins.JaasSecurityDomain Summary:
decode,   decode64,   encode,   encode64,   getCipherAlgorithm,   getKeyManagerFactory,   getKeyStore,   getKeyStoreType,   getKeyStoreURL,   getManagerServiceName,   getName,   getSecurityManagement,   getTrustManagerFactory,   getTrustStore,   getTrustStoreType,   getTrustStoreURL,   reloadKeyAndTrustStore,   setCipherAlgorithm,   setIterationCount,   setKeyStorePass,   setKeyStoreType,   setKeyStoreURL,   setManagerServiceName,   setSalt,   setSecurityManagement,   setTrustStorePass,   setTrustStoreType,   setTrustStoreURL,   startService,   stopService
Methods from org.jboss.security.plugins.JaasSecurityManager:
doesUserHaveRole,   flushCache,   getActiveSubject,   getPrincipal,   getSecurityDomain,   getTargetPrincipal,   getUserRoles,   isValid,   isValid,   setCachePolicy,   setDeepCopySubjectOption
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.security.plugins.JaasSecurityDomain Detail:
 public byte[] decode(byte[] secret) throws Exception 
    Decrypt the secret using the cipherKey.
 public byte[] decode64(String secret) throws Exception 
    Decrypt the base64 encoded secret using the cipherKey.
 public byte[] encode(byte[] secret) throws Exception 
    Encrypt the secret using the cipherKey.
 public String encode64(byte[] secret) throws Exception 
    Encrypt the secret using the cipherKey and return a base64 encoding.
 public String getCipherAlgorithm() 
 public KeyManagerFactory getKeyManagerFactory() throws SecurityException 
 public KeyStore getKeyStore() throws SecurityException 
 public String getKeyStoreType() 
 public String getKeyStoreURL() 
 public ObjectName getManagerServiceName() 
    The JMX object name string of the security manager service.
 public String getName() 
 public ISecurityManagement getSecurityManagement() 
 public TrustManagerFactory getTrustManagerFactory() throws SecurityException 
 public KeyStore getTrustStore() throws SecurityException 
 public String getTrustStoreType() 
 public String getTrustStoreURL() 
 public  void reloadKeyAndTrustStore() throws Exception 
    Reload the key- and truststore
 public  void setCipherAlgorithm(String cipherAlgorithm) 
 public  void setIterationCount(int iterationCount) 
 public  void setKeyStorePass(String password) throws Exception 
 public  void setKeyStoreType(String type) 
 public  void setKeyStoreURL(String storeURL) throws IOException 
 public  void setManagerServiceName(ObjectName managerServiceName) 
    Set the JMX object name string of the security manager service.
 public  void setSalt(String salt) 
 public  void setSecurityManagement(ISecurityManagement securityManagement) 
 public  void setTrustStorePass(String password) throws Exception 
 public  void setTrustStoreType(String type) 
 public  void setTrustStoreURL(String storeURL) throws IOException 
 protected  void startService() throws Exception 
 protected  void stopService()