当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
RolePrincipal - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.test.core.security
Class RolePrincipal
java.lang.Object
org.jboss.portal.test.core.security.RolePrincipal
- All Implemented Interfaces:
- java.security.Principal
- public class RolePrincipal
- extends java.lang.Object
- implements java.security.Principal
A principal containing a group name.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
toString |
RolePrincipal
public RolePrincipal(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface java.security.Principal
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface java.security.Principal
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.security.Principal