Revert "Fix test for SessionManagementConfigurer"
This reverts commit 17b25d1477
.
Issue gh-234
This commit is contained in:
parent
0d2b797c2a
commit
491abf2600
|
@ -114,7 +114,7 @@ class NamespaceSessionManagementTests extends BaseSpringSpec {
|
|||
when:
|
||||
loadConfig(RefsSessionManagementConfig)
|
||||
then:
|
||||
findFilter(SessionManagementFilter).sessionAuthenticationStrategy == RefsSessionManagementConfig.SAS
|
||||
findFilter(SessionManagementFilter).sessionAuthenticationStrategy.delegateStrategies.find { it == RefsSessionManagementConfig.SAS }
|
||||
}
|
||||
|
||||
@EnableWebSecurity
|
||||
|
@ -132,7 +132,7 @@ class NamespaceSessionManagementTests extends BaseSpringSpec {
|
|||
when:
|
||||
loadConfig(SFPNoneSessionManagementConfig)
|
||||
then:
|
||||
findFilter(SessionManagementFilter).sessionAuthenticationStrategy instanceof NullAuthenticatedSessionStrategy
|
||||
findFilter(SessionManagementFilter).sessionAuthenticationStrategy.delegateStrategies.find { it instanceof NullAuthenticatedSessionStrategy }
|
||||
}
|
||||
|
||||
@EnableWebSecurity
|
||||
|
|
Loading…
Reference in New Issue