I am not able to find the complete solution for this.
The closest I got is (7.2 FilterChainProcy)
http://static.springsource.org/spring-security/site/docs/3.0.x/reference/security-filter-chain.html

But still can't load the filter. Do you have a link to a howto/example?

Thanks

Ioannis Deligiannis| Senior Application Engineer

Velti
Mob: +30.6948.593.623 | Tel: +30.210.637.8800 (ext: 6730) | Fax: 
+30.210.637.8888
Email: ideligian...@velti.com<mailto:ideligian...@velti.com> | Web: 
www.velti.com<http://www.velti.com/>
Velti is a global leader in mobile marketing and advertising solutions for 
mobile operators, ad agencies, brands, and media groups.

London | New York | San Francisco | Boston | Athens | Sofia | Nicosia | Paris | 
Munich | Moscow | Mumbai | Dubai | Beijing
________________________________
From: Cagatay Civici [mailto:cagatay.civ...@gmail.com]
Sent: Friday, September 25, 2009 11:57 AM
To: MyFaces Discussion
Subject: Re: Myfaces and Presentation Role based rendering

Hi, actually that filter belongs to spring security not myfaces.

On Sep 25, 2009, at 9:53 AM, Ioannis Deligiannis wrote:


Thanks for replying...

I was asking if this is the only alternative (httpcontextintegrationfilter) 
because I have some issues. Unless I am mistaken, this filter is located in 
tomahawk sandbox and is compatible with jsf 1.1 (when i included it in my build 
path, I got errors during tomcat startup)

Ioannis Deligiannis| Senior Application Engineer

Velti
Mob: +30.6948.593.623 | Tel: +30.210.637.8800 (ext: 6730) | Fax: 
+30.210.637.8888
Email: ideligian...@velti.com<mailto:ideligian...@velti.com> | Web: 
www.velti.com<http://www.velti.com/>
Velti is a global leader in mobile marketing and advertising solutions for 
mobile operators, ad agencies, brands, and media groups.

London | New York | San Francisco | Boston | Athens | Sofia | Nicosia | Paris | 
Munich | Moscow | Mumbai | Dubai | Beijing
________________________________
From: Glauco P. Gomes [mailto:glaucopgo...@yahoo.com.br]
Sent: Thursday, September 24, 2009 8:22 PM
To: MyFaces Discussion
Subject: Re: Myfaces and Presentation Role based rendering

No, to use the objects from the wiki, you need to add the 
httpcontextintegrationfilter declaration to the Spring Security filter chain.

Glauco P. Gomes

Ioannis Deligiannis escreveu:

Thanks,



So let the only alternative is to use the sec taglibs?



Ioannis Deligiannis| Senior Application Engineer







Velti



Mob: +30.6948.593.623 | Tel: +30.210.637.8800 (ext: 6730) | Fax: 
+30.210.637.8888

Email: ideligian...@velti.com<mailto:ideligian...@velti.com> | Web: 
www.velti.com<http://www.velti.com/>



Velti is a global leader in mobile marketing and advertising solutions for 
mobile operators, ad agencies, brands, and media groups.



London | New York | San Francisco | Boston | Athens | Sofia | Nicosia | Paris | 
Munich | Moscow | Mumbai | Dubai | Beijing





-----Original Message-----

From: Cagatay Civici [mailto:cagatay.civ...@gmail.com]

Sent: Thursday, September 24, 2009 6:30 PM

To: MyFaces Discussion

Subject: Re: Myfaces and Presentation Role based rendering



You need to add the httpcontextintegrationfilter to your filter chain

to make MyFaces security work communicate with Spring Security.



Other way is to provide your own SecurityContext implementation,

default one uses container managed security.



First solution is simpler.



Regards,



Cagatay



On Sep 24, 2009, at 2:15 PM, jid1 wrote:





Thanks for the tips.

i tried using the wiki objects but they don't seem to be working

out-of-the-box with spring security that I am using (Nothing gets

returned

from the EL).



I did find the spring security taglibs though. any comments/

drawbacks on

using spring tags instead?

>From a first look I dont see any tag that evaluates to true/false

(e.g. for

enable disable functionality) It seems ok just for the layouts.



Thanks





Mike Kienenberger wrote:



http://wiki.apache.org/myfaces/SecurityContext



On Mon, Sep 21, 2009 at 9:45 AM, jid1 
<ideligian...@velti.com><mailto:ideligian...@velti.com> wrote:



Hello,



I was looking for role-based rendering Tags/Tools to use with

myfaces. Is

there any common practice from this?



I would like my forms (and other UI) to render information based

on the

user

role. Eg. If I have a component I would like it to be editable for

ROLE_ADMIN, visible for ROLE_MOD and not visible for all others.

Is there

any out of the box framework to do this?



Thanks

--

View this message in context:

http://www.nabble.com/Myfaces-and-Presentation-Role-based-rendering-tp25530337p25530337.html

Sent from the MyFaces - Users mailing list archive at 
Nabble.com<http://Nabble.com>.











--

View this message in context: 
http://www.nabble.com/Myfaces-and-Presentation-Role-based-rendering-tp25530337p25567701.html

Sent from the MyFaces - Users mailing list archive at 
Nabble.com<http://Nabble.com>.












Reply via email to