Class HttpBasicAuthenticationSecurityConfiguration.SecurityAwareClientHttpRequestInterceptor
java.lang.Object
org.springframework.geode.boot.autoconfigure.support.HttpBasicAuthenticationSecurityConfiguration.SecurityAwareClientHttpRequestInterceptor
- All Implemented Interfaces:
org.springframework.http.client.ClientHttpRequestInterceptor
- Enclosing class:
- HttpBasicAuthenticationSecurityConfiguration
public static class HttpBasicAuthenticationSecurityConfiguration.SecurityAwareClientHttpRequestInterceptor
extends Object
implements org.springframework.http.client.ClientHttpRequestInterceptor
-
Constructor Summary
ConstructorDescriptionSecurityAwareClientHttpRequestInterceptor
(org.springframework.core.env.Environment environment) -
Method Summary
-
Constructor Details
-
SecurityAwareClientHttpRequestInterceptor
public SecurityAwareClientHttpRequestInterceptor(org.springframework.core.env.Environment environment)
-
-
Method Details
-
isAuthenticationEnabled
protected boolean isAuthenticationEnabled() -
getUsername
-
getPassword
-
intercept
public org.springframework.http.client.ClientHttpResponse intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.ClientHttpRequestExecution execution) throws IOException - Specified by:
intercept
in interfaceorg.springframework.http.client.ClientHttpRequestInterceptor
- Throws:
IOException
-