Page 1 of 1

Changing authentication method.

PostPosted:Thu May 08, 2008 10:44 am
by ed0
I have put this in a new thread to keep things simple.

Following this thread:
http://sourceforge.net/forum/forum.php? ... _id=627085

I have contacted Graziano Giuliani, and he says to use this:

http://jpam.sourceforge.net/

I have installed that .jar file into /opt/OpenKM/server/default/lib

could anyone tell me how to configure OpenKM to use this method instead of its files please?

Thanks,
E

Re:Changing authentication method.

PostPosted:Thu May 08, 2008 11:05 am
by pavila
This is a two-phase process:

1.- Configure JBoss to use this JAAS module (refer to JBoss documentation)
2.- Configure OpenKM to get users and groups from this source. Here you need to create a class that implements the es.git.openkm.core.PrincipalAdapter interface and modify the OpenKM.cfg file to tall OpenKM to use this new class (parameter principal.adapter).

Re:Changing authentication method.

PostPosted:Thu May 08, 2008 11:25 am
by ed0
Could I have some more hints?

How do I configure JBOSS to do this? Could you show me where this documentation is?

Do I have to change the OpenKM part of server/default/conf/login-config.xml?

Thanks,
E

Re:Changing authentication method.

PostPosted:Thu May 08, 2008 2:24 pm
by pavila
Yes, you have to modify the file login-config.xml, so look at JBoss documentation site for more info.