|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.PasswordAuthentication
public final class PasswordAuthentication
This class serves a container for username/password pairs.
Constructor Summary | |
---|---|
PasswordAuthentication(String username,
char[] password)
Creates a new PasswordAuthentication object from the
specified username and password. |
Method Summary | |
---|---|
char[] |
getPassword()
Returns the password associated with this object |
String |
getUserName()
Returns the username associated with this object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordAuthentication(String username, char[] password)
PasswordAuthentication
object from the
specified username and password.
username
- The username for this objectpassword
- The password for this objectMethod Detail |
---|
public String getUserName()
public char[] getPassword()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |