So another way to solve the problem - can you config the LDAP to set up a group that includes all the users?
-Jack 2010/3/19 Lubomír Beneš <[email protected]> > 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? >
