[jboss-user] [Datasource Configuration] - Re: How to configure JBoss to connect to 2 databases?
span7152
do-not-reply at jboss.com
Wed Jun 6 12:40:44 EDT 2012
span7152 [https://community.jboss.org/people/span7152] created the discussion
"Re: How to configure JBoss to connect to 2 databases?"
To view the discussion, visit: https://community.jboss.org/message/740225#740225
--------------------------------------------------------------
Mr. Wolf-Dieter,
Thank you for your information.
One more assoicted question. How to put 2 <security-domain> in "jboss-web.xml" because of 2 databases?
The loing-config is as follows:
<application-policy name="oracleds1">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required">
<module-option name="usersProperties">props/oracleds1-users.properties</module-option>
<module-option name="rolesProperties">props/oracleds1-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
<application-policy name="oracleds2">
<authentication>
<login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule"
flag="required">
<module-option name="usersProperties">props/oracleds2-users.properties</module-option>
<module-option name="rolesProperties">props/oracleds2-roles.properties</module-option>
</login-module>
</authentication>
</application-policy>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/740225#740225]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120606/4d1aa790/attachment-0001.html
More information about the jboss-user
mailing list