List of usage examples for org.springframework.http.client HttpComponentsClientHttpRequestFactory subclass-usage
From source file org.springframework.cloud.dataflow.rest.util.PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory.java
/**
* {@link HttpComponentsClientHttpRequestFactory} extension that aggressively
* sends HTTP basic authentication credentials without having to first
* receive an HTTP 401 response from the server.
*
* @author Gunnar Hillert
From source file org.springframework.cloud.dataflow.shell.command.support.PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory.java
/** * @author Gunnar Hillert * */ public class PreemptiveBasicAuthHttpComponentsClientHttpRequestFactory extends HttpComponentsClientHttpRequestFactory {
From source file com.seajas.search.codex.social.connection.TrustingClientHttpRequestFactory.java
/** * Trusting HttpClient request factory. * * @author Jasper van Veghel <jasper@seajas.com> */ public class TrustingClientHttpRequestFactory extends HttpComponentsClientHttpRequestFactory {
From source file com.cisco.cta.taxii.adapter.httpclient.BasicAuthHttpRequestFactory.java
/** * {@link ClientHttpRequestFactory} implementation with basic HTTP authentication. * This class gets the credentials from {@link TaxiiServiceSettings}. */ public class BasicAuthHttpRequestFactory extends HttpComponentsClientHttpRequestFactory {
From source file com.nestorledon.employeedirectory.http.HttpComponentsClientHttpRequestFactoryBasicAuth.java
public class HttpComponentsClientHttpRequestFactoryBasicAuth extends HttpComponentsClientHttpRequestFactory { public HttpComponentsClientHttpRequestFactoryBasicAuth(String user, String password) { super(); CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials(new AuthScope(null, -1), new UsernamePasswordCredentials(user, password));
From source file org.syncope.client.http.PreemptiveAuthHttpRequestFactory.java
/** * Factory for DefaultContextHttpClient, with preemptive BASIC authentication. * * @see DefaultContextHttpClient */ public class PreemptiveAuthHttpRequestFactory extends HttpComponentsClientHttpRequestFactory {
From source file org.keycloak.adapters.springsecurity.client.KeycloakClientRequestFactory.java
/**
* Factory for {@link ClientHttpRequest} objects created for server to server secured
* communication using OAuth2 bearer tokens issued by Keycloak.
*
* @author <a href="mailto:srossillo@smartling.com">Scott Rossillo</a>
* @version $Revision: 1 $
From source file org.emonocot.portal.http.AuthenticatingHttpClientFactory.java
/** * * @author ben * */ public class AuthenticatingHttpClientFactory extends HttpComponentsClientHttpRequestFactory {
From source file com.garyclayburg.scimclient.authn.AuthHttpComponentsClientHttpRequestFactory.java
/**
* From http://www.baeldung.com/2012/04/16/how-to-use-resttemplate-with-basic-authentication-in-spring-3-1/
* <p/>
* <p>And with that, everything is in place the {@link RestTemplate} will now be able to support the Basic
* Authentication scheme; a simple usage pattern would be:
* <p/>
From source file jp.co.ctc_g.jse.core.rest.springmvc.client.ProxyClientHttpRequestFactory.java
/**
* <p>
* ????{@link org.springframework.web.client.RestOperations}??HTTP????????
* </p>
* <p>
* SpringMVC???{@link HttpComponentsClientHttpRequestFactory}??????