geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lubomír Beneš <Lubomir.Be...@seznam.cz>
Subject LDAP default role.
Date Fri, 19 Mar 2010 15:43:31 GMT
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?


Mime
View raw message