Class WithoutM2MTokenConfiguration
java.lang.Object
org.qubership.atp.auth.springbootstarter.security.oauth2.client.config.WithoutM2MTokenConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.client.RestTemplatem2mRestTemplate(org.qubership.atp.common.logging.interceptor.RestTemplateLogInterceptor restTemplateLogInterceptor) Without M2M OAuth2 RestTemplate.
-
Constructor Details
-
WithoutM2MTokenConfiguration
public WithoutM2MTokenConfiguration()
-
-
Method Details
-
m2mRestTemplate
@Bean("m2mRestTemplate") @ConditionalOnProperty(value="atp-auth.enable-m2m", havingValue="false", matchIfMissing=false) public org.springframework.web.client.RestTemplate m2mRestTemplate(org.qubership.atp.common.logging.interceptor.RestTemplateLogInterceptor restTemplateLogInterceptor) Without M2M OAuth2 RestTemplate.- Returns:
- RestTemplate without OAuth2 settings.
-