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.Using the ElytronAuthenticator is not supported or recommended due to known credential limitations in Java 8.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
-
-
Field Summary
Fields Modifier and Type Field Description private static AuthenticationContextConfigurationClient
client
Deprecated.private static ElytronPermission
CREATE_AUTHENTICATOR_PERMISSION
Deprecated.
-
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
-
-
-
-
Field Detail
-
client
private static final AuthenticationContextConfigurationClient client
Deprecated.
-
CREATE_AUTHENTICATOR_PERMISSION
private static final ElytronPermission CREATE_AUTHENTICATOR_PERMISSION
Deprecated.
-
-
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
-
-