@Configuration @EnableOAuth2Client @PropertySource(value="classpath:api2demo.properties") @ComponentScan(value="eu.europeana.api2demo.web.service") public class OAuth2Config extends Object
| Constructor and Description |
|---|
OAuth2Config() |
| Modifier and Type | Method and Description |
|---|---|
Config |
config() |
org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails |
myEuropeana() |
org.springframework.security.oauth2.client.OAuth2RestTemplate |
myEuropeanaRestTemplate(org.springframework.security.oauth2.client.OAuth2ClientContext clientContext) |
static org.springframework.context.support.PropertySourcesPlaceholderConfigurer |
properties() |
@Bean public org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails myEuropeana()
@Bean public org.springframework.security.oauth2.client.OAuth2RestTemplate myEuropeanaRestTemplate(org.springframework.security.oauth2.client.OAuth2ClientContext clientContext)
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer properties()
@Bean public Config config()
Copyright © 2016 Europeana Foundation. All rights reserved.