-
1. Re: Encrypting the Keystore Password in a Tomcat Connector problem
glogu Dec 7, 2011 3:56 AM (in response to glogu)anybody ?
-
2. Re: Encrypting the Keystore Password in a Tomcat Connector problem
stannous Dec 19, 2011 7:08 AM (in response to glogu)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
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>