|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.security.User
public class User
The username of a user.
| Constructor Summary | |
|---|---|
User(String user)
Create a new User with the given username. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getName()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public User(String user)
User with the given username.
user - user name| Method Detail |
|---|
public String getName()
getName in interface Principalpublic String toString()
toString in interface PrincipaltoString in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic boolean equals(Object obj)
equals in interface Principalequals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||