Revert "Fix test for SessionManagementConfigurer"

This reverts commit 17b25d1477.

Issue gh-234
This commit is contained in:
Joe Grandja 2016-04-22 11:44:19 -04:00 committed by Rob Winch
parent 0d2b797c2a
commit 491abf2600
1 changed files with 2 additions and 2 deletions

View File

@ -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