org.apache.servicemix.jbi.security
Class UserPrincipal

java.lang.Object
  extended by org.apache.servicemix.jbi.security.UserPrincipal
All Implemented Interfaces:
Serializable, Principal

public class UserPrincipal
extends Object
implements Principal, Serializable

See Also:
Serialized Form

Constructor Summary
UserPrincipal(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserPrincipal

public UserPrincipal(String name)
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

toString

public String toString()
Specified by:
toString in interface Principal
Overrides:
toString in class Object


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.