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_Mo...
http://docs.jboss.org/jbosssecurity/docs/6.0/security_guide/html/Login_Mo...
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5...
http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5...
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&...]