No, that's not currently possible.  You cannot have an interceptor injected
by default into every service point.

-----Original Message-----
From: Ing. Stefano Girotti [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 19, 2006 9:07 AM
To: users@tapestry.apache.org
Subject: Re: Best pratice - CRUD Security - Tapestry 4.0 With EJB3
persistence



"James Carman" <[EMAIL PROTECTED]> ha scritto nel messaggio 
news:<[EMAIL PROTECTED]>...
>You could put an interceptor on your services if you wish.


Is it possible to put an interceptor on every service by default?
where i can find an example of security interceptor?

i'm ALSO looking for a Searchable Security:
for example:
for the current user i have to find what special offers can buy....
and again.... the classic Access Control List have read - write - delete
or
admin properties....  i'd like to extend it... for example a special offer
is avaible from date to date... or by special code...

Finally if a user can't access to some page or some function i'd like 
to hide the corresponding link...
i thougth that i can do a "border" component to encapsulate this kind 
of security

in this case i have to import in all my pages this component....

it's possible to do the same as jsp: (taken from tomcat 5.5 examples)


JSP 2.0 Examples - JSP Configuration


----------
Using a <jsp-property-group> element in the web.xml deployment 
descriptor, this JSP page has been configured in the following ways:
    * Uses <include-prelude> to include the top banner.
    * Uses <include-coda> to include the bottom banner.
    * Uses <DEFANGED_scripting-invalid> true to disable <% scripting %>
elements
    * Uses <el-ignored> true to disable ${EL} elements
    * Uses <page-encoding> ISO-8859-1 to set the page encoding 
(though this is the default anyway)
There are various other configuration options that can be used.


I'm going to use all of this in a project surely based on EJB3 on 
JBoss 4.. .i hope to use both tapestry & hivemind....



Signature Light              \\  ~ ~  //
                               (  O o  )
____________________________oOOo_(_)_oOOo_________________________

Main e-mail: [EMAIL PROTECTED]
IRC Nick: IceCubeR
ICQ UIN: 48898319
MSN : [EMAIL PROTECTED]

Visit My Home Page:
http://www.geocities.com/SiliconValley/Way/5515
__________________________________________________________________



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to