站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

RolePrincipal - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.core.security
Class RolePrincipal

java.lang.Object
  extended byorg.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.


Constructor Summary
RolePrincipal(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Constructor Detail

RolePrincipal

public RolePrincipal(java.lang.String name)
Method Detail

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