spring-attic / spring-security-oauth

Support for adding OAuth1(a) and OAuth2 features (consumer and provider) for Spring web applications.

Home Page:http://github.com/spring-projects/spring-security-oauth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add @Configuration annotation to @AuthorizationServer annotation

hongji3354 opened this issue · comments

@EnableWebSecurity has @configuration, so just adding @EnableWebSecurity allows automatic setup, but @EnableAuthorizationServer does not have @configuration, so you need to add @configuration to proceed with the auto setup.

Generally, when using @Enable-related annotations, we think that using only that annotation will lead to automatic setup, so we would also like to add @configuration to @EnableAuthorizationServer

@hongji3354 This change cannot be applied based on comment.

Thank you