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> 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.
--
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.