users@glassfish.java.net

Re: AccessLocalException throws when security is activated

From: Harsha R A <Harsha.Ra_at_Sun.COM>
Date: Wed, 04 Jul 2007 22:40:39 +0530

I think I dont have

Default Principal To Role Mapping : Enabled


i.e. I have it disabled. Can you try disabling it?

Thanks
Harsha


glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>