security « Request « JSP-Servlet Q&A





1. request.isUserInRole("ADMIN") also returns true for user not in role ADMIN but role USER    stackoverflow.com

I'm currently trying out the JDBCRealm in Glasshfish v3: I have 2 roles USER and ADMIN. I have a LoginServlet that redirects to a url (say /admin or /user) based on the request.isUserInRole("ADMIN") ...

2. Getting HTTP 404 Not Found with multiple requests while using form based authentication    stackoverflow.com

I am having an issue with Tomcat and Websphere when users try to login in our application. If a user presses multiple times the return key after entering his/her login details, the ...