Package org.eclipse.jetty.client.api
Interface AuthenticationStore
-
- All Known Implementing Classes:
HttpAuthenticationStore
@Deprecated(since="2021-05-27") public interface AuthenticationStore
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.A store forAuthentication
s andAuthentication.Result
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description void
addAuthentication(Authentication authentication)
Deprecated.void
addAuthenticationResult(Authentication.Result result)
Deprecated.void
clearAuthenticationResults()
Deprecated.Removes all authentication results storedvoid
clearAuthentications()
Deprecated.Removes allAuthentication
s storedAuthentication
findAuthentication(java.lang.String type, java.net.URI uri, java.lang.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.Result
findAuthenticationResult(java.net.URI uri)
Deprecated.Returns anAuthentication.Result
that matches the given URI, or null if noAuthentication.Result
s match the given URI.default boolean
hasAuthenticationResults()
Deprecated.void
removeAuthentication(Authentication authentication)
Deprecated.void
removeAuthenticationResult(Authentication.Result result)
Deprecated.
-
-
-
Method Detail
-
addAuthentication
void addAuthentication(Authentication authentication)
Deprecated.- Parameters:
authentication
- theAuthentication
to add
-
removeAuthentication
void removeAuthentication(Authentication authentication)
Deprecated.- Parameters:
authentication
- theAuthentication
to remove
-
clearAuthentications
void clearAuthentications()
Deprecated.Removes allAuthentication
s stored
-
findAuthentication
Authentication findAuthentication(java.lang.String type, java.net.URI uri, java.lang.String realm)
Deprecated.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.- 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
void addAuthenticationResult(Authentication.Result result)
Deprecated.- Parameters:
result
- theAuthentication.Result
to add
-
removeAuthenticationResult
void removeAuthenticationResult(Authentication.Result result)
Deprecated.- Parameters:
result
- theAuthentication.Result
to remove
-
clearAuthenticationResults
void clearAuthenticationResults()
Deprecated.Removes all authentication results stored
-
findAuthenticationResult
Authentication.Result findAuthenticationResult(java.net.URI uri)
Deprecated.Returns anAuthentication.Result
that matches the given URI, or null if noAuthentication.Result
s match the given URI.- Parameters:
uri
- the request URI- Returns:
- the
Authentication.Result
that matches the given URI, or null
-
hasAuthenticationResults
default boolean hasAuthenticationResults()
Deprecated.- Returns:
- false if there are no stored authentication results, true if there may be some.
-
-