|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.net.Authenticator
com.aptana.ide.core.ui.UpdateManagerAuthenticator
com.aptana.ide.core.ui.AptanaAuthenticator
public class AptanaAuthenticator
Aptana authenticator
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.net.Authenticator |
|---|
java.net.Authenticator.RequestorType |
| Constructor Summary | |
|---|---|
AptanaAuthenticator()
|
|
| Method Summary | |
|---|---|
void |
cacheAuthentication(java.lang.String hostString,
java.net.PasswordAuthentication auth)
Cache the authentication, without any processing. |
static boolean |
cachingEnabled()
Returns true if caching enable, false otherwise |
java.net.PasswordAuthentication |
encrypt(java.net.PasswordAuthentication auth)
Takes in a PasswordAuthentication and returns one with an encrypted version of the password. |
static java.net.PasswordAuthentication |
getCachedAuthentication(java.lang.String hostString)
Gets the cached authentication |
protected java.net.PasswordAuthentication |
getPasswordAuthentication()
|
static java.util.Set |
getSavedHosts()
Gets the saved hosts |
static java.lang.String |
getUserName(java.lang.String hostString)
Gets the user name for a host name |
static boolean |
looksLikeCachedAreBad(java.lang.String hostString,
java.lang.String serializedRequest)
True is cached values appear to be bad |
static void |
removeCachedAuthentication(java.lang.String hostname)
Clears the saved credentials |
static java.lang.String |
serializeRequest(java.lang.String hostString,
java.lang.String prompt,
java.lang.String protocol,
java.lang.String scheme,
int port,
java.net.URL url)
Serialize a request |
| 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 AptanaAuthenticator()
| Method Detail |
|---|
protected java.net.PasswordAuthentication getPasswordAuthentication()
getPasswordAuthentication in class UpdateManagerAuthenticatorUpdateManagerAuthenticator.getPasswordAuthentication()public java.net.PasswordAuthentication encrypt(java.net.PasswordAuthentication auth)
auth - a PasswordAuthentication
public static boolean looksLikeCachedAreBad(java.lang.String hostString,
java.lang.String serializedRequest)
hostString - serializedRequest -
public static java.lang.String serializeRequest(java.lang.String hostString,
java.lang.String prompt,
java.lang.String protocol,
java.lang.String scheme,
int port,
java.net.URL url)
hostString - prompt - protocol - scheme - port - url -
public static boolean cachingEnabled()
public void cacheAuthentication(java.lang.String hostString,
java.net.PasswordAuthentication auth)
hostString - auth - public static java.net.PasswordAuthentication getCachedAuthentication(java.lang.String hostString)
hostString -
public static java.lang.String getUserName(java.lang.String hostString)
hostString -
public static final java.util.Set getSavedHosts()
public static void removeCachedAuthentication(java.lang.String hostname)
hostname - -
host name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||