Package org.wildfly.security.auth.util
Class ElytronAuthenticator
- java.lang.Object
-
- java.net.Authenticator
-
- org.wildfly.security.auth.util.ElytronAuthenticator
-
@Deprecated public final class ElytronAuthenticator extends Authenticator
Deprecated.An implementation ofAuthenticator
which uses the current security context to perform the authentication.- Author:
- David M. Lloyd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.net.Authenticator
Authenticator.RequestorType
-
-
Constructor Summary
Constructors Constructor Description ElytronAuthenticator()
Deprecated.Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected PasswordAuthentication
getPasswordAuthentication()
Deprecated.Get the password authentication for this authenticator, which uses the current local authentication context to log in to the remote server.-
Methods inherited from class java.net.Authenticator
getDefault, getRequestingHost, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingScheme, getRequestingSite, getRequestingURL, getRequestorType, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthentication, requestPasswordAuthenticationInstance, setDefault
-
-
-
-
Constructor Detail
-
ElytronAuthenticator
public ElytronAuthenticator()
Deprecated.Construct a new instance. Requires thecreateAuthenticator
ElytronPermission
.
-
-
Method Detail
-
getPasswordAuthentication
protected PasswordAuthentication getPasswordAuthentication()
Deprecated.Get the password authentication for this authenticator, which uses the current local authentication context to log in to the remote server.- Overrides:
getPasswordAuthentication
in classAuthenticator
- Returns:
- the authenticator
-
-