org.jboss.resteasy.plugins.server.embedded
Class SimplePrincipal

java.lang.Object
  extended by org.jboss.resteasy.plugins.server.embedded.SimplePrincipal
All Implemented Interfaces:
Principal

public class SimplePrincipal
extends Object
implements Principal

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
SimplePrincipal(String username)
           
 
Method Summary
 boolean equals(Object o)
           
 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

SimplePrincipal

public SimplePrincipal(String username)
Method Detail

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.