|
|
@ -58,13 +58,6 @@ class Saml2RelyingPartyPropertiesTests {
|
|
|
|
.isEqualTo("https://simplesaml-for-spring-saml/SSOService.php");
|
|
|
|
.isEqualTo("https://simplesaml-for-spring-saml/SSOService.php");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
|
|
|
void customizeSsoBindingDefaultsToRedirect() {
|
|
|
|
|
|
|
|
this.properties.getRegistration().put("simplesamlphp", new Saml2RelyingPartyProperties.Registration());
|
|
|
|
|
|
|
|
assertThat(this.properties.getRegistration().get("simplesamlphp").getIdentityprovider().getSinglesignon()
|
|
|
|
|
|
|
|
.getBinding()).isEqualTo(Saml2MessageBinding.REDIRECT);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
void customizeSsoBinding() {
|
|
|
|
void customizeSsoBinding() {
|
|
|
|
bind("spring.security.saml2.relyingparty.registration.simplesamlphp.identity-provider.single-sign-on.binding",
|
|
|
|
bind("spring.security.saml2.relyingparty.registration.simplesamlphp.identity-provider.single-sign-on.binding",
|
|
|
|