Class HttpAuthenticators
java.lang.Object
dev.resteasy.client.util.authentication.HttpAuthenticators
A utility to define the filter to place on a REST client or on a request.
- Author:
 - James R. Perkins
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic HttpAuthorizationFilteravailable(int limit, UserCredentials credentials) Creates a client request filter for BASIC and DIGEST authentication.static HttpAuthorizationFilteravailable(UserCredentials credentials) Creates a client request filter for BASIC and DIGEST authentication.static HttpAuthorizationFilterbasic(int limit, UserCredentials credentials) Creates a client request filter which will handle BASIC authentication.static HttpAuthorizationFilterbasic(UserCredentials credentials) Creates a client request filter which will handle BASIC authentication.static HttpAuthorizationFilterdigest(int limit, UserCredentials credentials) Creates a client request filter which will handle DIGEST authentication.static HttpAuthorizationFilterdigest(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
 
 
 -