on 05-02-2013 9:07 PM
I implemented the CAPTCHA logon module according to the following blog.
and its working fine with only one strange problem. Users login and logout fine without issues but whenever any user is required to change their password, after the change password page, instead of showing the portal home page, user is thrown back to the login page. I can''t see anything in the logs about this behaviour. If I remove my login module, change password works fine.
I am using EP 7.31 SP06.
My login module is assigned to the "ticket" policy config with the following hierarchy.
Solved it myself, when change password screen submits, the login module's login method is called again with empty j_username. Just return false, don't throw the exception. I just changed the following code as below,
if (userName == null) {
//throwNewLoginException("No user name provided." <--------Comment this line
return false;
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Faraz,
Pls go through this link,it will be helpful.
http://scn.sap.com/thread/1749681
http://scn.sap.com/message/3957187
or
UMFactory.getLogonAuthenticator().logon(request,response,
"uidpwdlogon"
);
Rgds,
Am
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.