[jboss-user] [JBoss AS Documentation] - Re: Encrypting the Keystore Password in a Tomcat Connector problem

Samuel Tannous do-not-reply at jboss.com
Mon Dec 19 07:08:45 EST 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111219/cb34a00f/attachment-0001.html 


More information about the jboss-user mailing list