With glassfish build54-rc the granted.policy generated 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";
};
Can you tell me please the option you selected in the security page of the admin console ?
I have the following options :
Security Manager : Enabled
Audit Logging : Desabled
Default Realm : file
Default Principal : guest
DefaultPrincipal Password : guest
JACC: default
Audit Modules : default
Default Principal To Role Mapping : Enabled
Mapped Principal Class : -
No properties has been defined in the additional properties section.
Thanks a lot for your help.
Franck Mosse
[Message sent by forum member 'franck_mosse' (franck_mosse)]
http://forums.java.net/jive/thread.jspa?messageID=225239