You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Konstantin <ch...@ukr.net> on 2008/09/10 13:09:57 UTC

T5: OnActivate is called on Acegi @Secured page

I have a page with:

@Secured(User.ROLE_USER)
public class Page1 extends MyAbstractPage {
  void onActivate(long someId) {
    Some initialization takes place here. No check against user role, cause
we believe we're secured!
  }
}

If I call this without context like this: http://localhost:8080/myapp/page1
I'm redirected into login page (as expected behavior), but if I add context:
http://localhost:8080/myapp/page1/123123 I see that onActivate is being
called. Is it a bug or a feature ?
-- 
View this message in context: http://www.nabble.com/T5%3A-OnActivate-is-called-on-Acegi-%40Secured-page-tp19410531p19410531.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org