Package org.motechproject.mots.security
Class AuthorizationServerConfiguration
- java.lang.Object
-
- org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter
-
- org.motechproject.mots.security.AuthorizationServerConfiguration
-
- All Implemented Interfaces:
org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer
@Configuration @EnableAuthorizationServer public class AuthorizationServerConfiguration extends org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter
-
-
Constructor Summary
Constructors Constructor Description AuthorizationServerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients)voidconfigure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints)voidconfigure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer)
-
-
-
Method Detail
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints) throws java.lang.Exception- Specified by:
configurein interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer- Overrides:
configurein classorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter- Throws:
java.lang.Exception
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer) throws java.lang.Exception- Specified by:
configurein interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer- Overrides:
configurein classorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter- Throws:
java.lang.Exception
-
configure
public void configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients) throws java.lang.Exception- Specified by:
configurein interfaceorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurer- Overrides:
configurein classorg.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter- Throws:
java.lang.Exception
-
-