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 Details

    • SecurityAwareClientHttpRequestInterceptor

      public SecurityAwareClientHttpRequestInterceptor(org.springframework.core.env.Environment environment)
  • Method Details

    • isAuthenticationEnabled

      protected boolean isAuthenticationEnabled()
    • getUsername

      protected String getUsername()
    • getPassword

      protected String 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 interface org.springframework.http.client.ClientHttpRequestInterceptor
      Throws:
      IOException