Quantcast
Channel: GlassFish Related Items on Java.net
Viewing all articles
Browse latest Browse all 1091

JAAS form authentication with form page matching protected resources

$
0
0

Hi.
Recently someone show me an application with a strange JAAS setting: using form authentication, they configured the login and error pages inside the protected resources, something like "/*" and then "
/login.jsp"; please note that /login.jsp matches /*, so the login page is a protected resource itself! Is this setting correct? The login process is working, most of the time.. sometimes it has strange behaviours, like loggin-in a user without entering his credentials, and with other users credential (users already logged in)
Does someone knows if this settings could generate some issues? Should not the login and error pages be outside the protected resources? What are the backdraws of that configuration?
Thanks.
Regards,
Sergio.


Viewing all articles
Browse latest Browse all 1091

Trending Articles