Skip to content

Instantly share code, notes, and snippets.

@Kallin
Created June 22, 2012 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kallin/2974245 to your computer and use it in GitHub Desktop.
Save Kallin/2974245 to your computer and use it in GitHub Desktop.
resources.groovy
import SamlAuthenticationFilter
import SamlAuthenticationProvider
beans = {
samlAuthenticationFilter(SamlAuthenticationFilter) {
authenticationManager = ref('authenticationManager')
sessionAuthenticationStrategy = ref('sessionAuthenticationStrategy')
authenticationSuccessHandler = ref('authenticationSuccessHandler')
authenticationFailureHandler = ref('authenticationFailureHandler')
rememberMeServices = ref('rememberMeServices')
authenticationDetailsSource = ref('authenticationDetailsSource')
}
samlAuthenticationProvider(SamlAuthenticationProvider) {
sAMLAuthenticationService = ref('SAMLAuthenticationService')
sAMLSettingsService = ref('SAMLSettingsService')
userDetailsService = ref('userDetailsService')
passwordEncoder = ref('passwordEncoder')
userCache = ref('userCache')
saltSource = ref('saltSource')
preAuthenticationChecks = ref('preAuthenticationChecks')
postAuthenticationChecks = ref('postAuthenticationChecks')
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment