Page 1 of 1

Handle automatic subscription

PostPosted:Thu Oct 25, 2012 12:42 pm
by ciropom
Hi to all, I am trying openKM and I have to say that it is a great KM system, with plenty of features.
I would like to alow users to freely register to my openKM instance, but the accounts should be enabled by an admin user.
There is already something similar?

Thank you for your replies.

Re: Handle automatic subscription

PostPosted:Fri Oct 26, 2012 9:48 pm
by jllort
That can be easilly implemented ( it's not available feature ). Can be solved in different ways. Basically:
1- create a non authenticated jsp ( take a look at OpenKM.xml to make it , really OpenKM.xml extend apllicationContex.xml definition under OpenKM.war/WEB-INF/ )
2- Create a form - minimal logic to validate creation - that will send some mail and create user disabled
You should use com.openkm.util.MailUtils and com.openkm.dao.AuthDAO ( take in consideration create user disabled )