I am migrating one of my old application from JBoss to WebSphere 8.5.
As I have given the job of migrating from one server, I don't know the exact working of the application.
Also, in JBoss, they have used a file, login-config.xml
which has various values of realms.
I was told to recreate the realm in WAS 8.5.
I have no idea how to proceed with this in WAS 8.5
This is the login-config.xml file which was used in JBoss server
<application-policy name="glsa-realm">
<authentication>
<login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required">
<module-option name="unauthenticatedIdentity">guest</module-option>
<module-option name="dsJndiName">java:/ABCDS4x</module-option>
<module-option name="principalsQuery">select password from USERS where username=?</module-option>
<module-option name="rolesQuery">select roles, roleGroup from ROLES where username=?</module-option>
<module-option name="hashAlgorithm">SHA-1</module-option>
<module-option name="hashEncoding">base64</module-option>
<module-option name="hashCharset">UTF-8</module-option>
</login-module>
</authentication>
</application-policy>
How do I recreate the same file using IBM WAS 8.5? Does IBM WAS have any settings to include these realm settings?
Also, I found the basic realm settings, but it doesn't support any option for running any sql query.