Skip to content

Commit

Permalink
Revert "Add singleSignOutFilter bean configuration"
Browse files Browse the repository at this point in the history
This reverts commit 3472174.
  • Loading branch information
sdelamo committed Oct 9, 2017
1 parent 0539b63 commit bda0ccd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions SpringSecurityCasGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,6 @@ class SpringSecurityCasGrailsPlugin {
println '\nConfiguring Spring Security CAS ...'
}

if (conf.cas.useSingleSignout) {

// session fixation prevention breaks single signout because
// the service ticket is mapped to the session id which changes
conf.useSessionFixationPrevention = false

singleSignOutFilter(SingleSignOutFilter) {
ignoreInitConfiguration = true
casServerUrlPrefix = conf.cas.serverUrlPrefix
}
}

SpringSecurityUtils.registerProvider 'casAuthenticationProvider'
SpringSecurityUtils.registerFilter 'casAuthenticationFilter', SecurityFilterPosition.CAS_FILTER

Expand Down

0 comments on commit bda0ccd

Please sign in to comment.