当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
JACCPortalPrincipal - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.security.impl.jacc
Class JACCPortalPrincipal
java.lang.Object
org.jboss.portal.security.impl.jacc.JACCPortalPrincipal
- All Implemented Interfaces:
- java.security.Principal
- public class JACCPortalPrincipal
- extends java.lang.Object
- implements java.security.Principal
This principal purpose is to cache some computation necessary to make the portal JACC integration work.
Method Summary |
java.lang.String |
getName()
|
java.security.Principal[] |
getPrincipals()
The principals owned. |
java.util.Set |
getRoles()
Return the set of roles. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
equals, hashCode, toString |
JACCPortalPrincipal
public JACCPortalPrincipal(javax.security.auth.Subject subject)
getRoles
public java.util.Set getRoles()
- Return the set of roles.
- Returns:
- the roles
getPrincipals
public java.security.Principal[] getPrincipals()
- The principals owned.
- Returns:
- the principals
getName
public java.lang.String getName()
- Specified by:
getName
in interface java.security.Principal