users@glassfish.java.net

Re: Security Role

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Thu, 01 Jun 2006 17:26:41 -0700

Dennis Gesker wrote:

> <security-role>
> <role-name>employee</role-name>
> </security-role>
>
>When I add the element above to my application.xml I get a "Linked
>policy contexts have different roleToSubjectMaps" error. This is a fresh
>project.
>
>
According to message format:
pc.linked_with_different_role_maps=Linked policy contexts have different
roleToSubjectMaps [{0}] [{1}].
there should be more info in log message.
Can you give us the complete message?

>Could someone offer a hint as to what is happening? Shouldn't the
>application.xml cover both my ejb.jar and war files?
>
>
Do you have any <security-role> defined in other deployment descriptors?
Do you use annotations?

>Dennis
>
>
>