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 TypeMethodDescriptionvoidaddAuthentication(Authentication authentication) Deprecated.voidDeprecated.voidDeprecated.Removes all authentication results storedvoidDeprecated.Removes allAuthentications 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.Resultthat matches the given URI, or null if noAuthentication.Results match the given URI.booleanDeprecated.voidremoveAuthentication(Authentication authentication) Deprecated.voidDeprecated.
-
Constructor Details
-
HttpAuthenticationStore
public HttpAuthenticationStore()Deprecated.
-
-
Method Details
-
addAuthentication
Deprecated.- Specified by:
addAuthenticationin interfaceAuthenticationStore- Parameters:
authentication- theAuthenticationto add
-
removeAuthentication
Deprecated.- Specified by:
removeAuthenticationin interfaceAuthenticationStore- Parameters:
authentication- theAuthenticationto remove
-
clearAuthentications
public void clearAuthentications()Deprecated.Description copied from interface:AuthenticationStoreRemoves allAuthentications stored- Specified by:
clearAuthenticationsin interfaceAuthenticationStore
-
findAuthentication
Deprecated.Description copied from interface:AuthenticationStoreReturns 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:
findAuthenticationin interfaceAuthenticationStore- Parameters:
type- theAuthenticationtype 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:
addAuthenticationResultin interfaceAuthenticationStore- Parameters:
result- theAuthentication.Resultto add
-
removeAuthenticationResult
Deprecated.- Specified by:
removeAuthenticationResultin interfaceAuthenticationStore- Parameters:
result- theAuthentication.Resultto remove
-
clearAuthenticationResults
public void clearAuthenticationResults()Deprecated.Description copied from interface:AuthenticationStoreRemoves all authentication results stored- Specified by:
clearAuthenticationResultsin interfaceAuthenticationStore
-
findAuthenticationResult
Deprecated.Description copied from interface:AuthenticationStoreReturns anAuthentication.Resultthat matches the given URI, or null if noAuthentication.Results match the given URI.- Specified by:
findAuthenticationResultin interfaceAuthenticationStore- Parameters:
uri- the request URI- Returns:
- the
Authentication.Resultthat matches the given URI, or null
-
hasAuthenticationResults
public boolean hasAuthenticationResults()Deprecated.- Specified by:
hasAuthenticationResultsin interfaceAuthenticationStore- Returns:
- false if there are no stored authentication results, true if there may be some.
-