Can you make sure you are bundling sun-ejb-jar.xml in your module? If
you send me your ejb jar file, I can debug this more.
Thanks
Harsha
glassfish_at_javadesktop.org wrote:
> If i desabled the "Default Principal To Role Mapping" feature, the granted.policy file is always empty (after the module deployment) and my example does not work anymore.
>
> When i activate this option, the granted.policy file is populated when i deploy the module but it containes only permissions like this :
>
> grant principal com.sun.enterprise.deployment.Group "BeanRoleRef" {
> permission javax.security.jacc.EJBMethodPermission "TestSecurityBean", "testSecurityCall,Remote,";
> permission javax.security.jacc.EJBRoleRefPermission "TestSecurityBean", "BeanRoleRef";
> };
>
> Can you explain me how to obtain permission like you have :
>
> grant principal com.sun.enterprise.deployment.PrincipalImpl "franck" {
> permission javax.security.jacc.EJBMethodPermission "TestSecurityBean",
> "testSecurityCall,Remote,";
> };
>
> Thanks, Franck.
> [Message sent by forum member 'franck_mosse' (franck_mosse)]
>
> http://forums.java.net/jive/thread.jspa?messageID=225304
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>