geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Default Security Principal & Role Mapping
Date Mon, 06 Feb 2006 15:54:10 GMT
Assuming the principal classes are the same, the unauthenticated user  
if given the admin role.

IIUC Simon wants to make the default subjects generated by actual  
login, which might make this point a bit clearer.


thanks
david jencks

On Feb 6, 2006, at 7:41 AM, Aaron Mulder wrote:

> If I have a security configuration block like this, is an
> unauthenticated user given the Admin role?  Or does role mapping
> ignore the default principal?
>
> Thanks,
>     Aaron
>
> <security>
>   <default-principal>
>     <principal class="..." name="bob" />
>   </default-principal>
>   <role-mappings>
>     <role name="Admin">
>       <principal class="..." name="bob" />
>     </role>
>   </role-mappings>
> </security>


Mime
View raw message