Alessandro,
The visibleOnUserRole and enabledOnUserRole attributes cause the according component to be visible/enabled whenever the isUserInRole of the current HttpServletRequest returns true. Nothing more.
So if it does not work, please check the JAAS configuration of your webcontainer. What is your exact environment? Tomcat?


Manfred


Alessandro Polverini schrieb:
Hello,
I'm doing a very basic test with user realms and the simplest I can find
seems not working, probably I'm doing something wrong and a bit of help
would be appreciated.

I tried the following directive:

<x:outputText value="role found" visibleOnUserRole="dummy"/>

And the text "role found" is displayed always, also if the user is not
authenticated!

Am I missing something?
The visibleOnUserRole and enabledOnUserRole would be very handy :)

Thanks,
Alex




Reply via email to