geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Cai <>
Subject Re: LDAP default role.
Date Mon, 22 Mar 2010 01:55:53 GMT
So another way to solve the problem - can you config the LDAP to set up a
group that includes all the users?


2010/3/19 Lubomír Beneš <>

> 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?

View raw message