Friday, January 6, 2012

Determine user in Tomcat

To determine user authentication info in Tomcat, we can use the following:

getRemoteUser()
isUserInRole(String role)

Both methods are under javax.servlet.http.HttpServletRequest.

No comments:

Post a Comment

Learning System Design with Cute Animation

 This one is superb -  https://designed-to-scale.vercel.app/