Samuel Tannous [http://community.jboss.org/people/stannous] created the 
discussion

"Re: Encrypting the Keystore Password in a Tomcat Connector problem"

To view the discussion, visit: http://community.jboss.org/message/642208#642208

--------------------------------------------------------------
You can configure the JaasSecurityDomain in the 
AppServer\server\all\conf\jboss-service.xml file (create it if it doesn't 
exist). These pages might help:

 
http://docs.jboss.org/jbosssecurity/docs/6.0/security_guide/html/Login_Modules.html
 
http://docs.jboss.org/jbosssecurity/docs/6.0/security_guide/html/Login_Modules.html

 
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Security_Guide/Using_LdapExtLoginModule_with_JaasSecurityDomain.html
 
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5/html/Security_Guide/Using_LdapExtLoginModule_with_JaasSecurityDomain.html

One thing these examples fail to mention however is the <depends> attribute. 
Leaving it out caused the "JaasSecurityManager is not registered" error for me. 
Here's a working example:

<server>

   <mbean code="org.jboss.security.plugins.JaasSecurityDomain" 
name="jboss.security:service=JaasSecurityDomain,domain=myDomain">
      <constructor>
         <arg type="java.lang.String" value="myDomain" />
      </constructor>
      <attribute name="KeyStoreURL">resource:test.jks</attribute>
      <attribute name="KeyStorePass">password</attribute>
      <depends>jboss.security:service=JaasSecurityManager</depends>
   </mbean>

</server>
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/642208#642208]

Start a new discussion in JBoss AS Documentation at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2079]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to