org.jboss.resteasy.plugins.server.embedded
Class SimplePrincipal
java.lang.Object
org.jboss.resteasy.plugins.server.embedded.SimplePrincipal
- All Implemented Interfaces:
- Principal
public class SimplePrincipal
- extends Object
- implements Principal
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
SimplePrincipal
public SimplePrincipal(String username)
getName
public String getName()
- Specified by:
getName
in interface Principal
equals
public boolean equals(Object o)
- 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
Copyright © 2011. All Rights Reserved.