You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Apache Wiki <wi...@apache.org> on 2009/09/30 13:44:21 UTC

[Tapestry Wiki] Update of "Tapestry5HowToControlAccess" by SergeyDidenko

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.

The "Tapestry5HowToControlAccess" page has been changed by SergeyDidenko:
http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess?action=diff&rev1=6&rev2=7

  ##language:en
+ 
+ '''Note:''' the new cleaner way to control access is to use [[http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/services/ComponentRequestFilter.html|ComponentRequestFilter]] instead of [[http://tapestry.apache.org/tapestry5.1/apidocs/org/apache/tapestry5/services/Dispatcher.html|Dispatcher]]. You can see the sources of [[http://www.chenillekit.org/chenillekit-access/index.html|chenillekit-access]] for example, partically Component``Request``Access``Filter.java
+ 
+ ----
+ 
  In the articles [[http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher|Tapestry5HowToCreateADispatcher]] and [[http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher2|Tapestry5HowToCreateADispatcher2]], Chris Lewis has explained how to create a dispatcher, get it into the pipeline, and use it to check user rights against the url requested.
  What i need in my project is similar but i would rather check the rights of my users against an information stored in the page requested, say an annotation !
  

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