org.apache.qpid.server.security.auth.sasl
Class UsernamePrincipal

java.lang.Object
  extended by org.apache.qpid.server.security.auth.sasl.UsernamePrincipal
All Implemented Interfaces:
Principal

public class UsernamePrincipal
extends Object
implements Principal

A principal that is just a wrapper for a simple username.


Constructor Summary
UsernamePrincipal(String name)
           
 
Method Summary
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode
 

Constructor Detail

UsernamePrincipal

public UsernamePrincipal(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface Principal

toString

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


Licensed to the Apache Software Foundation