mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-28 06:42:49 +00:00
Polish ordering of Config and test in NamespaceRememberMeTests
The convention is to put the config just below the test. This commit fixes the convention for NamespaceRememberMeTests
This commit is contained in:
parent
0c77c2071b
commit
5fa5630bc3
@ -253,13 +253,13 @@ public class NamespaceRememberMeTests extends BaseSpringSpec {
|
||||
}
|
||||
|
||||
@Configuration
|
||||
static class RememberMeParameterConfig extends BaseWebConfig {
|
||||
static class UseSecureCookieConfig extends BaseWebConfig {
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http
|
||||
.formLogin()
|
||||
.and()
|
||||
.rememberMe()
|
||||
.rememberMeParameter("rememberMe")
|
||||
.useSecureCookie(true)
|
||||
}
|
||||
}
|
||||
|
||||
@ -271,13 +271,13 @@ public class NamespaceRememberMeTests extends BaseSpringSpec {
|
||||
}
|
||||
|
||||
@Configuration
|
||||
static class RememberMeCookieNameConfig extends BaseWebConfig {
|
||||
static class RememberMeParameterConfig extends BaseWebConfig {
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http
|
||||
.formLogin()
|
||||
.and()
|
||||
.rememberMe()
|
||||
.rememberMeCookieName("rememberMe")
|
||||
.rememberMeParameter("rememberMe")
|
||||
}
|
||||
}
|
||||
|
||||
@ -290,13 +290,13 @@ public class NamespaceRememberMeTests extends BaseSpringSpec {
|
||||
}
|
||||
|
||||
@Configuration
|
||||
static class UseSecureCookieConfig extends BaseWebConfig {
|
||||
static class RememberMeCookieNameConfig extends BaseWebConfig {
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http
|
||||
.formLogin()
|
||||
.and()
|
||||
.rememberMe()
|
||||
.useSecureCookie(true)
|
||||
.rememberMeCookieName("rememberMe")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user