users@glassfish.java.net

Re: AccessLocalException throws when security is activated

From: <glassfish_at_javadesktop.org>
Date: Wed, 04 Jul 2007 08:44:06 PDT

Well, i just install the build b41d-beta2.
The granted.policy file generated by glassfish is :

grant principal com.sun.enterprise.deployment.Group "BeanRoleRef" {
  permission javax.security.jacc.EJBMethodPermission "TestSecurityBean", "testSecurityCall,Remote,";
  permission javax.security.jacc.EJBRoleRefPermission "TestSecurityBean", "BeanRoleRef";
};

grant principal com.sun.enterprise.deployment.Group "InvalidBeanRoleRef" {
  permission javax.security.jacc.EJBMethodPermission "TestSecurityBean", "testInvalidRoleCall,Remote,";
  permission javax.security.jacc.EJBRoleRefPermission "TestSecurityBean", "InvalidBeanRoleRef";
};



I still have the same exception as before.
But if i replace the content of this file with the content you give me previously then it is working.
I think there is something wrong when generating this file with the V2 beta2 and previous versions.
I will try now with the build 54.
[Message sent by forum member 'franck_mosse' (franck_mosse)]

http://forums.java.net/jive/thread.jspa?messageID=225233