[jboss-user] [Beginner's Corner] - Jboss 7
nav
do-not-reply at jboss.com
Wed May 29 21:45:52 EDT 2013
nav [https://community.jboss.org/people/nav] created the discussion
"Jboss 7"
To view the discussion, visit: https://community.jboss.org/message/820249#820249
--------------------------------------------------------------
Hi,
I'm using jboss 7.1.1 and the security domain definition is placed in the standalone.xml file.
<security-domain name="XXX">
<authentication>
<login-module code="LdapExtended" flag="required">
<module-option name="java.naming.factory.initial" value="com.sun.jndi.ldap.LdapCtxFactory"/>
<module-option name="java.naming.provider.url" value="ldap://XXX"/>
<module-option name="java.naming.security.authentication" value="simple"/>
<module-option name="bindDN" value="cn=administrator"/>
<module-option name="bindCredential" value="secret"/>
<module-option name="baseCtxDN" value="ou=Users,DC=AS400SRV,DC=QUEBEC,DC=CANADA,DC=ACME,DC=COM"/>
<module-option name="baseFilter" value="(uid={0})"/>
<module-option name="rolesCtxDN" value="ou=Roles,DC=AS400SRV,DC=QUEBEC,DC=CANADA,DC=ACME,DC=COM"/>
<module-option name="roleFilter" value="(member={1})"/>
<module-option name="roleAttributeID" value="cn"/>
</login-module>
</authentication>
In order to facilitate different deployment environments (dev/test/prod) can this configuration be bundled in my EAR or WAR file as a deployment descriptor?
So, basically, when I build for 'Dev' I want my build to create/pick the correct dev configuration and bundle it in the war file, and in order to do that I need to define this configuration out of standalone.xml
Thanks!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/820249#820249]
Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130529/13f155fd/attachment.html
More information about the jboss-user
mailing list