Hi,
I installed OpenKM 1.2 and I have trouble configuring the login mechanism.
I want to add ldap authentication and followed the documentation, but to no avail.
It seems, that changes to server/default/conf/login-config.xml have no effect at all.
E.g. If I change the OpenKM application policy to
<!-- OpenKM -->
<application-policy name = \"OpenKM\">
<authentication>
<login-module code=\"org.jboss.security.auth.spi.UsersRolesLoginModule\" flag = \"required\">
<module-option name=\"usersProperties\">users2.properties</module-option>
<module-option name=\"rolesProperties\">roles2.properties</module-option>
</login-module>
<login-module code=\"org.jboss.security.ClientLoginModule\" flag=\"required\" />
</authentication>
</application-policy>
And create users2.properties and roles2.properties, those files are not used at all.
server.log has
2008-02-19 15:04:59,590 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added other, org.jboss.security.plugins.SecurityDomainContext@b21d14 to map
2008-02-19 15:04:59,607 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[]
2008-02-19 15:04:59,611 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[]
So it seems, login-config.xml is not used (and my initial attempts to add ldap authentication failed because of that too).
Any ideas.
I installed OpenKM 1.2 and I have trouble configuring the login mechanism.
I want to add ldap authentication and followed the documentation, but to no avail.
It seems, that changes to server/default/conf/login-config.xml have no effect at all.
E.g. If I change the OpenKM application policy to
<!-- OpenKM -->
<application-policy name = \"OpenKM\">
<authentication>
<login-module code=\"org.jboss.security.auth.spi.UsersRolesLoginModule\" flag = \"required\">
<module-option name=\"usersProperties\">users2.properties</module-option>
<module-option name=\"rolesProperties\">roles2.properties</module-option>
</login-module>
<login-module code=\"org.jboss.security.ClientLoginModule\" flag=\"required\" />
</authentication>
</application-policy>
And create users2.properties and roles2.properties, those files are not used at all.
server.log has
2008-02-19 15:04:59,590 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added other, org.jboss.security.plugins.SecurityDomainContext@b21d14 to map
2008-02-19 15:04:59,607 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[]
2008-02-19 15:04:59,611 DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Loaded properties, users=[]
So it seems, login-config.xml is not used (and my initial attempts to add ldap authentication failed because of that too).
Any ideas.