mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-23 01:39:02 +00:00
Merge branch '4.0.x'
Closes gh-50025
This commit is contained in:
+4
-2
@@ -30,8 +30,10 @@ public class MySamlRelyingPartyConfiguration {
|
||||
public SecurityFilterChain securityFilterChain(HttpSecurity http) {
|
||||
http.authorizeHttpRequests((requests) -> requests.anyRequest().authenticated());
|
||||
http.saml2Login(withDefaults());
|
||||
http.saml2Logout((saml2) -> saml2.logoutRequest((request) -> request.logoutUrl("/SLOService.saml2"))
|
||||
.logoutResponse((response) -> response.logoutUrl("/SLOService.saml2")));
|
||||
http.saml2Logout((saml2) -> {
|
||||
saml2.logoutRequest((request) -> request.logoutUrl("/SLOService.saml2"));
|
||||
saml2.logoutResponse((response) -> response.logoutUrl("/SLOService.saml2"));
|
||||
});
|
||||
return http.build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user