mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-23 15:21:25 +01:00
WIP: Try to add saml2 logout with defaults
This commit is contained in:
parent
f8944fd2a9
commit
7297e9e62d
@ -1,5 +1,7 @@
|
||||
package stirling.software.SPDF.config.security;
|
||||
|
||||
import static org.springframework.security.config.Customizer.withDefaults;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Qualifier;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@ -214,6 +216,7 @@ public class SecurityConfiguration {
|
||||
.failureHandler(
|
||||
new CustomSAMLAuthenticationFailureHandler());
|
||||
})
|
||||
.saml2Logout(withDefaults())
|
||||
.addFilterBefore(
|
||||
userAuthenticationFilter, Saml2WebSsoAuthenticationFilter.class);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user