Improve the Saml2AuthenticationRequest object

- introduce the AssertionConsumerServiceURL attribute
- add javadoc
- align property name with SAML XML for AuthNRequest
This commit is contained in:
Filip Hanik
2019-09-30 10:01:22 -07:00
parent 9731386de5
commit 83b5f5c7ae
4 changed files with 158 additions and 21 deletions

View File

@@ -160,6 +160,13 @@ public class Saml2LoginIntegrationTests {
"https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/SSOService.php",
destination
);
String acsURL = authnRequest.getAssertionConsumerServiceURL();
assertEquals(
"AssertionConsumerServiceURL must match",
"http://localhost:8080/login/saml2/sso/simplesamlphp",
acsURL
);
}