Skip to content

Support order on bean definition for WebSecurityConfigurerAdapter #9431

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

Closed
mbhave opened this issue Feb 11, 2021 · 2 comments
Closed

Support order on bean definition for WebSecurityConfigurerAdapter #9431

mbhave opened this issue Feb 11, 2021 · 2 comments
Assignees
Labels
status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement

Comments

@mbhave
Copy link
Contributor

mbhave commented Feb 11, 2021

Currently, it is not possible to do this

@Bean
@Order(1)
WebSecurityConfigurerAdapter testWebSecurityConfigurerAdapter() {
	return new WebSecurityConfigurerAdapter() {
		@Override
		protected void configure(HttpSecurity http) throws Exception {
			//something
		}
	};
}

It would be nice if @Order worked on the bean definition for WebSecurityConfigurerAdapters.

@mbhave mbhave added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Feb 11, 2021
@jgrandja
Copy link
Contributor

Related #9154

@rwinch rwinch added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 6, 2022
@rwinch rwinch self-assigned this Jun 6, 2022
@rwinch
Copy link
Member

rwinch commented Jun 6, 2022

Given WebSecurityConfigurerAdapter is deprecated we do not plan to add this feature. See gh-10822

@rwinch rwinch closed this as completed Jun 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

4 participants