-
1. Re: Password forgotten function on login page
theute Jan 25, 2007 6:50 AM (in response to djmacpac)Since by default, the password are 'md5sumized', you will probably want to generate a new password, make the change using the user module, then send an email to the user with the new password
-
2. Re: Password forgotten function on login page
bvogt Jan 25, 2007 7:02 AM (in response to djmacpac)I don't know if this is the indended way, but I could imagine:
1. Defining a custom login module (e.g. by extending the org.jboss.portal.identity.auth.IdentityLoginModule) in order to add that eMail functionality
2. Passing an additional parameter to the login module within portal-server-war/login.jsp
3. Activating the new login module in portal-core-sar/conf/login-config.xml -
3. Re: Password forgotten function on login page
djmacpac Jan 26, 2007 8:08 AM (in response to djmacpac)OK thx
but which module do i have to customize if i'm using a forced login page like described here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ForceLoginPage -
4. Re: Password forgotten function on login page
djmacpac Jan 30, 2007 4:16 AM (in response to djmacpac)Does really nobody has a hint for me how to implement a "password forgotten" function? Is there a good walkaround for me? Or has somebody a good example for me? I just don't know where to start....
-
5. Re: Password forgotten function on login page
djmacpac Jan 31, 2007 3:41 AM (in response to djmacpac)OK, I try on an other way:
I created a new coloumn in the jbp_users table: jbp_clearpass. I converted all passwords from my old turbine table to my jbp table. I saved the hash in the Password coloumn and the clear password in the clearpass one. Works fine. Now I have the Problem that, when I create a new User in the Portal, the Pass will not be saved in the clearpass coloumn, just the hash. Where do I have to change the source code of the Portal to that way, that the password will also be saved in the clearpass coloumn? I looked in the UserPortlet.java, the User.java and the UserModule.java but can't find the right place...anybody has an hint?