Package org.eclipse.jetty.client
Class HttpAuthenticationStore
java.lang.Object
org.eclipse.jetty.client.HttpAuthenticationStore
- All Implemented Interfaces:
AuthenticationStore
@Deprecated(since="2021-05-27")
public class HttpAuthenticationStore
extends Object
implements AuthenticationStore
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthentication
(Authentication authentication) Deprecated.void
Deprecated.void
Deprecated.Removes all authentication results storedvoid
Deprecated.Removes allAuthentication
s storedfindAuthentication
(String type, URI uri, String realm) Deprecated.Returns the authentication that matches the given type (for example, "Basic" or "Digest"), the given request URI and the given realm.Deprecated.Returns anAuthentication.Result
that matches the given URI, or null if noAuthentication.Result
s match the given URI.boolean
Deprecated.void
removeAuthentication
(Authentication authentication) Deprecated.void
Deprecated.
-
Constructor Details
-
HttpAuthenticationStore
public HttpAuthenticationStore()Deprecated.
-
-
Method Details
-
addAuthentication
Deprecated.- Specified by:
addAuthentication
in interfaceAuthenticationStore
- Parameters:
authentication
- theAuthentication
to add
-
removeAuthentication
Deprecated.- Specified by:
removeAuthentication
in interfaceAuthenticationStore
- Parameters:
authentication
- theAuthentication
to remove
-
clearAuthentications
public void clearAuthentications()Deprecated.Description copied from interface:AuthenticationStore
Removes allAuthentication
s stored- Specified by:
clearAuthentications
in interfaceAuthenticationStore
-
findAuthentication
Deprecated.Description copied from interface:AuthenticationStore
Returns the authentication that matches the given type (for example, "Basic" or "Digest"), the given request URI and the given realm. If no such authentication can be found, returns null.- Specified by:
findAuthentication
in interfaceAuthenticationStore
- Parameters:
type
- theAuthentication
type such as "Basic" or "Digest"uri
- the request URIrealm
- the authentication realm- Returns:
- the authentication that matches the given parameters, or null
-
addAuthenticationResult
Deprecated.- Specified by:
addAuthenticationResult
in interfaceAuthenticationStore
- Parameters:
result
- theAuthentication.Result
to add
-
removeAuthenticationResult
Deprecated.- Specified by:
removeAuthenticationResult
in interfaceAuthenticationStore
- Parameters:
result
- theAuthentication.Result
to remove
-
clearAuthenticationResults
public void clearAuthenticationResults()Deprecated.Description copied from interface:AuthenticationStore
Removes all authentication results stored- Specified by:
clearAuthenticationResults
in interfaceAuthenticationStore
-
findAuthenticationResult
Deprecated.Description copied from interface:AuthenticationStore
Returns anAuthentication.Result
that matches the given URI, or null if noAuthentication.Result
s match the given URI.- Specified by:
findAuthenticationResult
in interfaceAuthenticationStore
- Parameters:
uri
- the request URI- Returns:
- the
Authentication.Result
that matches the given URI, or null
-
hasAuthenticationResults
public boolean hasAuthenticationResults()Deprecated.- Specified by:
hasAuthenticationResults
in interfaceAuthenticationStore
- Returns:
- false if there are no stored authentication results, true if there may be some.
-