Package org.motechproject.mots.security
Class ResourceServerConfiguration
- java.lang.Object
-
- org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
-
- org.motechproject.mots.security.ResourceServerConfiguration
-
- All Implemented Interfaces:
org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
@Configuration @EnableResourceServer public class ResourceServerConfiguration extends org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
-
-
Constructor Summary
Constructors Constructor Description ResourceServerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
void
configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources)
-
-
-
Method Detail
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.ResourceServerSecurityConfigurer resources)
- Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Overrides:
configure
in classorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
-
configure
public void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws java.lang.Exception
- Specified by:
configure
in interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurer
- Overrides:
configure
in classorg.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter
- Throws:
java.lang.Exception
-
-