I also expected it to do the same. Is there a test for this?

Thanks
Anita

--- David Blevins <[EMAIL PROTECTED]> wrote:

> 
> On Sep 25, 2007, at 8:44 AM, Anita Kulshreshtha wrote:
> 
> >    Right now I am stuck at this:
> >    @RolesAllowed({a, b})
> >    public class ..... {
> >        @RolesAllowed(b) {
> >        public .. dosomething() {
> >        }
> >    }
> >    Does this prevent 'a' from accessing dosomething()?
> >
> 
> Yes.  See http://openejb.apache.org/security-annotations.html
> 
> -David
> 
> 
> 
> 



      
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

Reply via email to