W dniu 18.09.2010 20:54, Thomas Menke pisze:
> > I did as you said and I added simply "return false" to hasRole() and
> > isUserAuthenticated() and I added a @RolesAllowed annotation to a method
> > of an action bean.
Did You return new ErrorResolution with 401 in
public Resolution handleAccessDenied(ActionBean bean, Method handler) {
}
?
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users