30.7. Security-related components
These components relate to web-tier security.
-
org.jboss.seam.web.userPrincipal
- A manager component for the current user
Principal
. -
org.jboss.seam.web.isUserInRole
- Allows JSF pages to choose to render a control, depending upon the roles available to the current principal, for example:
<h:commandButton value="edit" rendered="#{isUserInRole['admin']}"/>
.