Menu

#106 josso 1.8.1 - LoginAction in sample gateway webapp

open
nobody
5
2010-04-16
2010-04-16
Anonymous
No

Hi,
I'm protecting a tomcat 6.0 webapplication with Josso-1.8.1. My custom extention to 'UsernamePasswordLoginAction' had been giving me trouble. It always seemed like the user was trying attempting to login, even on what should have been the first display of the login screen.

The valve always seem to send - josso_cmd=login_optional which is not handled code in the LoginAction code.

I believe the cause is the line in (LoginAction.java - line 116) - should accept 'login_optional'

Also, please take a look at LoginAction.java - line 262...
if (cmd != null && cmd.equals("login_optional")) {
...
}

Thanks,
...Mike

Discussion

MongoDB Logo MongoDB