Interface HttpAuthentication
- All Known Implementing Classes:
BasicAuthentication
public interface HttpAuthentication
-
Method Summary
Modifier and TypeMethodDescriptionstatic BasicAuthenticationorg.springframework.http.client.ClientHttpRequestFactorygetRequestFactory(String requestUrl, HttpClient httpClient) Creates client request factory that uses the given authentication method.org.eclipse.jetty.security.SecurityHandlergetSecurityHandler(String resourcePath) Security handler able to set up server user authentication on given resource path.
-
Method Details
-
getSecurityHandler
Security handler able to set up server user authentication on given resource path.- Parameters:
resourcePath-- Returns:
-
getRequestFactory
org.springframework.http.client.ClientHttpRequestFactory getRequestFactory(String requestUrl, HttpClient httpClient) Creates client request factory that uses the given authentication method.- Parameters:
requestUrl-httpClient-- Returns:
-
basic
-