|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.Authenticator
com.ibm.ccd.ui.util.SimpleAuthenticator
public class SimpleAuthenticator
This class is used for Authenticating server with a login/password.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.net.Authenticator |
---|
java.net.Authenticator.RequestorType |
Constructor Summary | |
---|---|
SimpleAuthenticator()
Default Constructor |
|
SimpleAuthenticator(java.lang.String username,
java.lang.String password)
Constructor with user name and password. |
Method Summary | |
---|---|
protected java.net.PasswordAuthentication |
getPasswordAuthentication()
This method consructs the PasswordAuthentication and returns
the same. |
Methods inherited from class java.net.Authenticator |
---|
getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, setDefault |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleAuthenticator()
public SimpleAuthenticator(java.lang.String username, java.lang.String password)
username
- password
- Method Detail |
---|
protected java.net.PasswordAuthentication getPasswordAuthentication()
PasswordAuthentication
and returns
the same.
getPasswordAuthentication
in class java.net.Authenticator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |