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

java.lang.Object
  extended by 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 $
Author:
Bill Burke

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

getName

public java.lang.String getName()
Specified by:
getName in interface java.security.Principal

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface java.security.Principal
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface java.security.Principal
Overrides:
hashCode in class java.lang.Object


Copyright © 2009. All Rights Reserved.