java.lang.Object
org.qubership.atp.auth.springbootstarter.security.oauth2.client.config.TokenRelayConfiguration

@Configuration @Profile("default") public class TokenRelayConfiguration extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.web.client.RestTemplate
    relayRestTemplate(org.springframework.http.client.ClientHttpRequestFactory sslRequestFactory, org.qubership.atp.common.logging.interceptor.RestTemplateLogInterceptor restTemplateLogInterceptor)
    Return OAuth2RestTemplate which applies a user token to each request.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TokenRelayConfiguration

      public TokenRelayConfiguration()
  • Method Details

    • relayRestTemplate

      @Bean("relayRestTemplate") public org.springframework.web.client.RestTemplate relayRestTemplate(org.springframework.http.client.ClientHttpRequestFactory sslRequestFactory, org.qubership.atp.common.logging.interceptor.RestTemplateLogInterceptor restTemplateLogInterceptor)
      Return OAuth2RestTemplate which applies a user token to each request.