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

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

public class UsernamePrincipal
extends java.lang.Object
implements java.security.Principal

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


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

Constructor Detail

UsernamePrincipal

public UsernamePrincipal(java.lang.String name)
Method Detail

getName

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