Class IvyAuthenticator
java.lang.Object
java.net.Authenticator
org.apache.ivy.util.url.IvyAuthenticator
-
Nested Class Summary
Nested classes/interfaces inherited from class Authenticator
Authenticator.RequestorType -
Method Summary
Modifier and TypeMethodDescriptionprotected PasswordAuthenticationstatic voidinstall()Installs an IvyAuthenticator as default Authenticator.Methods inherited from class Authenticator
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
-
Method Details
-
install
public static void install()Installs an IvyAuthenticator as default Authenticator. Call this method before opening HTTP(S) connections to enable Ivy authentication. -
getPasswordAuthentication
- Overrides:
getPasswordAuthenticationin classAuthenticator
-