Originally posted by cj jack:
I believe you should be able to check the isUserInRole("manager") method from the HttpServletRequest object.
HttpServletRequest
public boolean isUserInRole(String role)
What do you think.
Cj
Hi,
To check whether the user is "Manager", I can use isUserInRole(String role), But my question is who will put that role, its me programmer has to do that explicitly or its done in the web container. If i have to that explicity when and where do i need to specify the "Manager" role?