Class HttpAuthenticators
java.lang.Object
dev.resteasy.client.util.authentication.HttpAuthenticators
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpAuthorizationFilter
available
(int limit, UserCredentials credentials) Creates a client request filter for BASIC and DIGEST authentication.static HttpAuthorizationFilter
available
(UserCredentials credentials) Creates a client request filter for BASIC and DIGEST authentication.static HttpAuthorizationFilter
basic
(int limit, UserCredentials credentials) Creates a client request filter which will handle BASIC authentication.static HttpAuthorizationFilter
basic
(UserCredentials credentials) Creates a client request filter which will handle BASIC authentication.static HttpAuthorizationFilter
digest
(int limit, UserCredentials credentials) Creates a client request filter which will handle DIGEST authentication.static HttpAuthorizationFilter
digest
(UserCredentials credentials) Creates a client request filter which will handle DIGEST authentication.
-
Constructor Details
-
HttpAuthenticators
public HttpAuthenticators()
-
-
Method Details
-
basic
Creates a client request filter which will handle BASIC authentication.- Parameters:
credentials
- the authentication credentials- Returns:
- the client request filter
-
basic
Creates a client request filter which will handle BASIC authentication.- Parameters:
limit
- the maximum number of entries to cache for repeat requestscredentials
- the authentication credentials- Returns:
- the client request filter
-
digest
Creates a client request filter which will handle DIGEST authentication.- Parameters:
credentials
- the authentication credentials- Returns:
- the client request filter
-
digest
Creates a client request filter which will handle DIGEST authentication.- Parameters:
limit
- the maximum number of entries to cache for repeat requestscredentials
- the authentication credentials- Returns:
- the client request filter
-
available
Creates a client request filter for BASIC and DIGEST authentication.- Parameters:
credentials
- the authentication credentials- Returns:
- the client request filter
-
available
Creates a client request filter for BASIC and DIGEST authentication.- Parameters:
limit
- the maximum number of entries to cache for repeat requestscredentials
- the authentication credentials- Returns:
- the client request filter
-