/
JSF Support
JSF Support
Facelet Tag Library
pax-shiro-faces
provides a facelet tag library which is largely equivalent to the JSP tag library contained in Apache Shiro.
The tags in this library show or hide their body content depending on the roles and permissions of the current Shiro subject.
Example:
<shiro:guest> <p>Welcome Guest!</p> </shiro:guest> <shiro:user> <p>Welcome <shiro:principal/>!</p> </shiro:user>
The namespace of this tag library is http://shiro.ops4j.org/tags
. The tag library descriptor is fully documented, so content assist and tag auto-completion should work in most IDEs.
SeeĀ sample-faces
for a complete example, derived fromĀ sample-jsp
from Apache Shiro.
, multiple selections available,