Hello everyone,
I try to implement SSO for brxm (14.7.11). I implemented it according the spring tutorial.
my filterChain looks like this:
http
.authenticationProvider(samlAuthenticationProvider(samlUserDetailsServiceImpl))
http
.httpBasic()
.authenticationEntryPoint(samlEntryPoint());
http
.addFilterBefore(metadataGeneratorFilter(), ChannelProcessingFilter::class.java)
.addFilterAfter(LoginSuccessFilter(), AuthorizationFilter::class.java)
http
.csrf()
.disable()
.authorizeHttpRequests()
.requestMatchers("/saml*", "/*.gif", "/*.jpg", "/*.jpeg", "/*.png", "/*.jsp", "/*.js", "/*.css", "/console*").permitAll().anyRequest().authenticated()
return http.build()
after logging in, it is jumping in the doFilter method of the LoginSuccessFilter and there I try to get the authentication status from SecurityContextHolder, but it is null. What do I miss in the configuration?
And how can I connect the user details to the HippoUserManager?
Thanks a lot for your help in advance!
Henriette