Skip to content

Commit 43f2904

Browse files
committed
Add ACS Location Default
Closes gh-8876
1 parent 7c4a706 commit 43f2904

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

saml2/saml2-service-provider/src/main/java/org/springframework/security/saml2/provider/service/registration/RelyingPartyRegistration.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import java.util.function.Function;
2929

3030
import org.springframework.security.saml2.core.Saml2X509Credential;
31+
import org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter;
3132
import org.springframework.util.Assert;
3233

3334
/**
@@ -715,7 +716,7 @@ public final static class Builder {
715716
private String entityId = "{baseUrl}/saml2/service-provider-metadata/{registrationId}";
716717
private Collection<Saml2X509Credential> signingX509Credentials = new HashSet<>();
717718
private Collection<Saml2X509Credential> decryptionX509Credentials = new HashSet<>();
718-
private String assertionConsumerServiceLocation;
719+
private String assertionConsumerServiceLocation = "{baseUrl}" + Saml2WebSsoAuthenticationFilter.DEFAULT_FILTER_PROCESSES_URI;
719720
private Saml2MessageBinding assertionConsumerServiceBinding = Saml2MessageBinding.POST;
720721
private ProviderDetails.Builder providerDetails = new ProviderDetails.Builder();
721722
private Collection<org.springframework.security.saml2.credentials.Saml2X509Credential> credentials = new HashSet<>();

0 commit comments

Comments
 (0)