John,

Since stripesstuff security is marked verson 0.1 you can expect quirks. The only
way I can get it to work is if I have a useActionBean before
security:allowed/notAllowed and use the bean and event attributes on the tags.

JSP Example:

<stripes:useActionBean var="myBean" beanclass="com.fs.InSecureAction" />
<security:allowed bean="myBean" event="iamsecure">
Something you want to do here.
</security:notAllowed>

Java Action example:

@PermitAll
@HandlesEvent("iamsecure")
public Resolution viez() {
   return new ForwardResolution("/WEB-INF/jsp/some.jsp");
}

And no, I haven't tried downloading the latest code from the stripesstuff CVS
repository to see if this was fixed or not.

Regards,
David


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to