|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SK.gnome.dwarf.auth.GenericPrincipal SK.gnome.dwarf.auth.UserPrincipal
This class implements a Principal representing the authenticated user.
The full user name can be obtained via the getFullName()
method.
Constructor Summary | |
UserPrincipal(java.lang.String name)
Creates a new UserPrincipal. |
|
UserPrincipal(java.lang.String name,
java.lang.String fullName)
Creates a new UserPrincipal with the given full name. |
Method Summary | |
java.lang.String |
getFullName()
Returns the full user name. |
Methods inherited from class SK.gnome.dwarf.auth.GenericPrincipal |
equals, getName, hashCode, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UserPrincipal(java.lang.String name)
public UserPrincipal(java.lang.String name, java.lang.String fullName)
name
- the user idfullName
- the full user name (may be null)Method Detail |
public java.lang.String getFullName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |