BTW, I think there is a bug in the transform method, instead of this:

// Extend class
transformation.extendMethod(TransformConstants.BEGIN_RENDER_SIGNATURE,
   tokenField + " = " + interField + ".checkBefore(" + configField + ");");
transformation.extendMethod(TransformConstants.CLEANUP_RENDER_SIGNATURE,
   interField + ".checkAfter(" + tokenField + ", null);");


should be this:
// Extend class
transformation.extendMethod(TransformConstants.CONTAINING_PAGE_DID_ATTACH_SIGNATURE,
   tokenField + " = " + interField + ".checkBefore(" + configField + ");");
transformation.extendMethod(TransformConstants.CONTAINING_PAGE_DID_DETACH_SIGNATURE,
   interField + ".checkAfter(" + tokenField + ", null);");

otherwise it is possible to submit on secured page.

Robin Helgelin wrote:
On Feb 19, 2008 5:08 PM, Robin Helgelin <[EMAIL PROTECTED]> wrote:
On Feb 19, 2008 4:50 PM, ryanskow <[EMAIL PROTECTED]> wrote:
First of all, thank you for the work everyone has done on Acegi.  Is there
any idea when secured methods will be working in tapestry-Acegi?  I noticed
in the  http://www.localhost.nu/java/tapestry5-acegi/todo.html
tapestry-acegi Todo List  that this was not working and thought I'd check to
see when it might be.
Thanks. I've began working on this, but I got stuck and haven't had
much time to look at it. I'll try to get time to work on it.

If you'd like to try, it should work now (tm). I've uploaded a
1.0.4-SNAPSHOT to my snapshot repository:
http://www.localhost.nu/java/mvn-snapshot



--
WBR,
Ivan S. Dubrov

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to