org.qi4j.library.auth
Class UserPrincipal

java.lang.Object
  extended by org.qi4j.library.auth.UserPrincipal
All Implemented Interfaces:
Principal

public class UserPrincipal
extends Object
implements Principal

JAVADOC


Constructor Summary
UserPrincipal(User user)
           
 
Method Summary
 String getName()
           
 User getUser()
           
 
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

UserPrincipal

public UserPrincipal(User user)
Method Detail

getName

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

getUser

public User getUser()