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 Constructor Description HttpAuthenticationStore()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddAuthentication(Authentication authentication)Deprecated.voidaddAuthenticationResult(Authentication.Result result)Deprecated.voidclearAuthenticationResults()Deprecated.Removes all authentication results storedvoidclearAuthentications()Deprecated.Removes allAuthentications storedAuthenticationfindAuthentication(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.Authentication.ResultfindAuthenticationResult(URI uri)Deprecated.Returns anAuthentication.Resultthat matches the given URI, or null if noAuthentication.Results match the given URI.booleanhasAuthenticationResults()Deprecated.voidremoveAuthentication(Authentication authentication)Deprecated.voidremoveAuthenticationResult(Authentication.Result result)Deprecated.
-
-
-
Method Detail
-
addAuthentication
public void addAuthentication(Authentication authentication)
Deprecated.- Specified by:
addAuthenticationin interfaceAuthenticationStore- Parameters:
authentication- theAuthenticationto add
-
removeAuthentication
public void removeAuthentication(Authentication authentication)
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
public Authentication findAuthentication(String type, URI uri, String realm)
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
public void addAuthenticationResult(Authentication.Result result)
Deprecated.- Specified by:
addAuthenticationResultin interfaceAuthenticationStore- Parameters:
result- theAuthentication.Resultto add
-
removeAuthenticationResult
public void removeAuthenticationResult(Authentication.Result result)
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
public Authentication.Result findAuthenticationResult(URI uri)
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.
-
-