Class SimplePrincipal
- java.lang.Object
-
- org.jboss.resteasy.plugins.server.embedded.SimplePrincipal
-
- All Implemented Interfaces:
java.security.Principal
public class SimplePrincipal extends java.lang.Object implements java.security.Principal
- Version:
- $Revision: 1 $
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
username
-
Constructor Summary
Constructors Constructor Description SimplePrincipal(java.lang.String username)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getName()
int
hashCode()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfacejava.security.Principal
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interfacejava.security.Principal
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacejava.security.Principal
- Overrides:
hashCode
in classjava.lang.Object
-
-