Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEC-2788: Add @Configuration as meta annotation to @Enable* annotations #3014

Closed
spring-issuemaster opened this issue Dec 10, 2014 · 0 comments
Closed

Comments

@spring-issuemaster
Copy link

@spring-issuemaster spring-issuemaster commented Dec 10, 2014

Rob Winch (Migrated from SEC-2788) said:

This removes the need to state @Configuration when using @Enable* annotations. For example:

@EnableWebSecurity
@Configuration
public class WebSecurity ... {
...
}

can be shortened to

@EnableWebSecurity
public class WebSecurity ... {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.