org.apache.cxf.common.security
Class SimplePrincipal
java.lang.Object
org.apache.cxf.common.security.SimplePrincipal
- All Implemented Interfaces:
- Principal
- Direct Known Subclasses:
- KerberosAuthenticationFilter.KerberosPrincipal, SimpleGroup, SubjectPrincipal
public class SimplePrincipal
- extends Object
- implements Principal
Simple Principal implementation
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
Apache CXF