Page 1 of 1

Letting users change their passwords

PostPosted:Tue May 06, 2008 2:46 pm
by ed0
Hi there,
While I wait for the new OpenKM, I would just like to know if there is a way for users to change their own passwords?

Also/otherwise is there a way for openkm to run using the unix users of the system?

Thanks,
E

Re:Letting users change their passwords

PostPosted:Tue May 06, 2008 4:37 pm
by pavila
1.- Actually thir feautre is not implemented, but you can do it easily. By default, OpenKM uses text-files user authentication. You can configure JBoss to authenticate againt a database and a simple PHP script can help you to change user password.

2.- OpenKM use JAAS to athenticate users. If there is a JAAS module with this feautre, you can use it. See JBoss documentation for more info.

Re:Letting users change their passwords

PostPosted:Tue May 06, 2008 7:47 pm
by ed0
Thanks for your reply. I have found this that seems right:

http://www.bablokb.de/jaas/

I have some more questions - can I just add this as a modules into JAAS or do I have to compile all of OpenKM with this?

Also, once I am authenticating users against the system\'s logins, how do I set the user\'s groups? Are those still in openkm-roles.properties?

Thanks,
Edward

P.S. when is the 2.0 release coming out on SF?

Re:Letting users change their passwords

PostPosted:Tue May 06, 2008 8:34 pm
by ed0
I have found an even better option:

http://jaas-pam.sourceforge.net/

If someone tells me how to get this working with OpenKM, I would be very happy!

My question above about groups is still valid - how will they be managed?


Thanks,
E

Re:Letting users change their passwords

PostPosted:Wed May 07, 2008 4:58 pm
by pavila
Users and Roles are used in many authentication methods. I don\'t know how this JAAS manage the roles. Perhaps using system user groups?

Re:Letting users change their passwords

PostPosted:Wed May 07, 2008 5:59 pm
by jllort
Could this old threat help you it\'s and entry from older forum.

Re:Letting users change their passwords

PostPosted:Wed May 07, 2008 6:19 pm
by ed0
I will work through that and let you know how I get on, thanks!

E

Re:Letting users change their passwords

PostPosted:Wed May 07, 2008 8:59 pm
by ed0
OK, I am having trouble following that guide, it is quite difficult.

Could one of you knowledgeable guys tell me, from that link, what I would have to do to compile the .java file he provides?

And could you make a guess at what files I would have to edit in the Configure your Web Application section?

Thanks,
E


P.S. When is the final OpenKM release going to come?!

Re:Letting users change their passwords

PostPosted:Thu May 08, 2008 6:34 am
by jllort
This week we release OpenKM 2.0. stable.

Take a look at the developer guide there\'s a guide to set our actual developing environment ( we plan to change to new Jboss-plugins , but we\'ve still not yet on this project ). For now use it.