Open the [appserver root]/server/lc_sqlserver_cl/conf/login-config.xml
file in a text editor and modify the following code within the <policy> element:
<application-policy name="MSSQLDbRealm">
<authentication>
<login-module
code="org.jboss.resource.security.ConfiguredIdentityLoginModule" flag
= "required">
<module-option name="principal">adobe</module-option>
<module-option name="userName">adobe</module-option>
<module-option name="password">adobe</module-option>
<module-option
name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,
name=Default DS </module-option>
</login-module>
</authentication>
</application-policy>
Replace the bold text (for parameters principal,userName
and password) with values that are specific to your database so
that the application server can access your database.
Save and close the file.
Restart JBoss.
|
|
|