@Configuration
@EnableAuthorizationServer
protected static class OAuth2ServerConfig.AuthorizationServerConfiguration
extends org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapter
| Modifier | Constructor and Description |
|---|---|
protected |
AuthorizationServerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.provider.code.AuthorizationCodeServices |
authorizationCodeServices() |
void |
configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints) |
void |
configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer) |
void |
configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients) |
org.springframework.security.oauth2.provider.token.TokenStore |
tokenStore() |
public void configure(org.springframework.security.oauth2.config.annotation.configurers.ClientDetailsServiceConfigurer clients)
throws Exception
configure in interface org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerconfigure in class org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapterExceptionpublic void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerEndpointsConfigurer endpoints)
throws Exception
configure in interface org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerconfigure in class org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapterExceptionpublic void configure(org.springframework.security.oauth2.config.annotation.web.configurers.AuthorizationServerSecurityConfigurer oauthServer)
throws Exception
configure in interface org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerconfigure in class org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerConfigurerAdapterException@Bean public org.springframework.security.oauth2.provider.token.TokenStore tokenStore()
@Bean public org.springframework.security.oauth2.provider.code.AuthorizationCodeServices authorizationCodeServices()
Copyright © 2017. All rights reserved.