Package org.languagetool.rules.patterns
Class PasswordAuthenticator
- java.lang.Object
-
- java.net.Authenticator
-
- org.languagetool.rules.patterns.PasswordAuthenticator
-
public class PasswordAuthenticator extends Authenticator
Authenticator that extracts username and password from URL, e.g. fromhttp://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 Constructor Description PasswordAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @Nullable PasswordAuthentication
getPasswordAuthentication()
-
Methods inherited from class java.net.Authenticator
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
-
-
-
-
Method Detail
-
getPasswordAuthentication
@Nullable protected @Nullable PasswordAuthentication getPasswordAuthentication()
- Overrides:
getPasswordAuthentication
in classAuthenticator
-
-