I just installed on Ubuntu. "JBoss-4.2.3.GA_OpenKM-4.1_RC1"
I am able to launch the browser "http://localhost:8080/OpenKM"
When I try using admin/admin I get an authentication error.
I've tried adding the following code to the login-config.xml file
<!-- OpenKM -->
<application-policy name = "OpenKM">
<authentication>
<login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required">
<module-option name="dsJndiName">java:/OKMAuthDS</module-option>
<module-option name="principalsQuery">select usr_pass as PASSWD from users where usr_id=? and usr_active='true'</module-option>
<module-option name="rolesQuery">select ur_role as ROLEID, 'Roles' from user_role where ur_user=?</module-option>
</login-module>
</authentication>
</application-policy>
I am able to launch the browser "http://localhost:8080/OpenKM"
When I try using admin/admin I get an authentication error.
I've tried adding the following code to the login-config.xml file
<!-- OpenKM -->
<application-policy name = "OpenKM">
<authentication>
<login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required">
<module-option name="dsJndiName">java:/OKMAuthDS</module-option>
<module-option name="principalsQuery">select usr_pass as PASSWD from users where usr_id=? and usr_active='true'</module-option>
<module-option name="rolesQuery">select ur_role as ROLEID, 'Roles' from user_role where ur_user=?</module-option>
</login-module>
</authentication>
</application-policy>