Package org.languagetool.rules.patterns
Class PasswordAuthenticator
java.lang.Object
java.net.Authenticator
org.languagetool.rules.patterns.PasswordAuthenticator
Authenticator that extracts username and password from URL, e.g.
from
http://user:password@myhost.org/path
- Since:
- 2.7
-
Nested Class Summary
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.net.Authenticator
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
-
Constructor Details
-
PasswordAuthenticator
public PasswordAuthenticator()
-
-
Method Details
-
getPasswordAuthentication
- Overrides:
getPasswordAuthentication
in classAuthenticator
-