geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lubomír Beneš <>
Subject LDAP default role.
Date Fri, 19 Mar 2010 15:43:31 GMT

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 
	<role-name> ... </role-name>
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?

View raw message