当前页面:
在线文档首页 >
JBoss Seam 1.2.0 patch1 API 英文版文档
SimplePrincipal (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档
org.jboss.seam.security
Class SimplePrincipal
java.lang.Object
org.jboss.seam.security.SimplePrincipal
- All Implemented Interfaces:
- Serializable, Principal
public class SimplePrincipal
- extends Object
- implements Principal, Serializable
Simple implementation of the Principal interface, supporting a named user.
- Author:
- Shane Bryzak
- See Also:
- Serialized Form
SimplePrincipal
public SimplePrincipal(String name)
getName
public String getName()
- Specified by:
getName
in interface Principal
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Principal
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Principal
- Overrides:
hashCode
in class Object
toString
public String toString()
- Specified by:
toString
in interface Principal
- Overrides:
toString
in class Object