Have you considered this:

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

I think it may still be part of the sandbox.


On 6/25/08, hbMailingList <[EMAIL PROTECTED]> wrote:
>
>  Thank you for the quick response!
>
>  Well I think you're right.  Normally I wouldn't want to do something like
>  this.  However, I want to implement a very simple authorization scheme,
>  where I pass a controlD to the backing bean and it decides whether that
>  controlId is accessible to the user.
>
>  <h:panelGrid rendered="#{auth.isAccessible['panelGrid1']}"/>
>
>  otherwise, I'll need to do somethign like
>
>  <h:panelGrid rendered="#{user.role eq 'Admin' OR user.role eq 'User'}"/>
>
>  kind of gross...
>
>  I realize that there are at least 2 projects out there for authorization,
>  but I just want to do something very simple for now.
>
>  Thanks again.
>
>
>
>  hbMailingList wrote:
>  >
>  > hello I'd like to invoke a method on my backing bean.  I realize that
>  > #{myBackingBean.myMethod} will not work...so I tried
>  > #{myBackingBean[myMethod]} which also doesn't work.
>  >
>  > Is there a way I can get around this?
>  >
>  > If so can I pass a parameter into the method.
>  >
>  > Thanks in advance.
>  >
>
>  --
>
> View this message in context: 
> http://www.nabble.com/invoking-a-method-tp18120933p18122805.html
>
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to