public class UserLoginModule.UserPrincipal
extends java.lang.Object
implements java.security.Principal
Constructor and Description |
---|
UserPrincipal(User user) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName() |
User |
getUser() |
int |
hashCode() |
java.lang.String |
toString() |
public UserPrincipal(User user)
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean equals(java.lang.Object obj)
equals
in interface java.security.Principal
equals
in class java.lang.Object
public User getUser()
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object