Hello,

I have a servlet where I want to get user principal for further chcking. I know 
that to get the user principal from request.getUserPrincipal() I have to be 
logged in. Every user logged in will have a privilege to access this servlet. 
What role should I set in 
<auth-constraint>
        <role-name> ... </role-name>
</auth-constraint> 
when I am not able to get role from LDAP. Is there any way how to assign every 
LDAP user a default role or is there any way how to force servlet login but to 
allow access for each user? 

Reply via email to