이 콘텐츠는 선택한 언어로 제공되지 않습니다.
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']}"/>
.