|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.Authenticator
org.eclipse.jgit.util.CachedAuthenticator
public abstract class CachedAuthenticator
Abstract authenticator which remembers prior authentications.
Nested Class Summary | |
---|---|
static class |
CachedAuthenticator.CachedAuthentication
Authentication data to remember and reuse. |
Nested classes/interfaces inherited from class java.net.Authenticator |
---|
java.net.Authenticator.RequestorType |
Constructor Summary | |
---|---|
CachedAuthenticator()
|
Method Summary | |
---|---|
static void |
add(CachedAuthenticator.CachedAuthentication ca)
Add a cached authentication for future use. |
protected java.net.PasswordAuthentication |
getPasswordAuthentication()
|
protected abstract java.net.PasswordAuthentication |
promptPasswordAuthentication()
Prompt for and request authentication from the end-user. |
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 CachedAuthenticator()
Method Detail |
---|
public static void add(CachedAuthenticator.CachedAuthentication ca)
ca
- the information we should remember.protected final java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication
in class java.net.Authenticator
protected abstract java.net.PasswordAuthentication promptPasswordAuthentication()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |