@ -186,7 +186,7 @@ class Saml2RelyingPartyAutoConfigurationTests {
server . start ( ) ;
String metadataUrl = server . url ( "" ) . toString ( ) ;
setupMockResponse ( server , new ClassPathResource ( "saml/idp-metadata" ) ) ;
this . contextRunner . withPropertyValues ( PREFIX + ".foo.asserting - party.metadata-uri=" + metadataUrl )
this . contextRunner . withPropertyValues ( PREFIX + ".foo.asserting party.metadata-uri=" + metadataUrl )
. run ( ( context ) - > {
assertThat ( context ) . hasSingleBean ( RelyingPartyRegistrationRepository . class ) ;
assertThat ( server . getRequestCount ( ) ) . isEqualTo ( 1 ) ;
@ -215,7 +215,7 @@ class Saml2RelyingPartyAutoConfigurationTests {
server . start ( ) ;
String metadataUrl = server . url ( "" ) . toString ( ) ;
setupMockResponse ( server , new ClassPathResource ( "saml/idp-metadata" ) ) ;
this . contextRunner . withPropertyValues ( PREFIX + ".foo.asserting - party.metadata-uri=" + metadataUrl )
this . contextRunner . withPropertyValues ( PREFIX + ".foo.asserting party.metadata-uri=" + metadataUrl )
. run ( ( context ) - > {
RelyingPartyRegistrationRepository repository = context
. getBean ( RelyingPartyRegistrationRepository . class ) ;
@ -250,8 +250,8 @@ class Saml2RelyingPartyAutoConfigurationTests {
server . start ( ) ;
String metadataUrl = server . url ( "" ) . toString ( ) ;
setupMockResponse ( server , new ClassPathResource ( "saml/idp-metadata" ) ) ;
this . contextRunner . withPropertyValues ( PREFIX + ".foo.asserting - party.metadata-uri=" + metadataUrl ,
PREFIX + ".foo.asserting - party.singlesignon.binding=redirect") . run ( ( context ) - > {
this . contextRunner . withPropertyValues ( PREFIX + ".foo.asserting party.metadata-uri=" + metadataUrl ,
PREFIX + ".foo.asserting party.singlesignon.binding=redirect") . run ( ( context ) - > {
RelyingPartyRegistrationRepository repository = context
. getBean ( RelyingPartyRegistrationRepository . class ) ;
RelyingPartyRegistration registration = repository . findByRegistrationId ( "foo" ) ;
@ -378,7 +378,7 @@ class Saml2RelyingPartyAutoConfigurationTests {
}
private String [ ] getPropertyValuesWithoutSigningCredentials ( boolean signRequests , boolean useDeprecated ) {
String assertingParty = useDeprecated ? "identityprovider" : "asserting - party";
String assertingParty = useDeprecated ? "identityprovider" : "asserting party";
return new String [ ] {
PREFIX + ".foo." + assertingParty
+ ".singlesignon.url=https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/SSOService.php" ,
@ -391,7 +391,7 @@ class Saml2RelyingPartyAutoConfigurationTests {
}
private String [ ] getPropertyValuesWithoutSsoBinding ( boolean useDeprecated ) {
String assertingParty = useDeprecated ? "identityprovider" : "asserting - party";
String assertingParty = useDeprecated ? "identityprovider" : "asserting party";
return new String [ ] {
PREFIX + ".foo." + assertingParty
+ ".singlesignon.url=https://simplesaml-for-spring-saml.cfapps.io/saml2/idp/SSOService.php" ,
@ -403,7 +403,7 @@ class Saml2RelyingPartyAutoConfigurationTests {
}
private String [ ] getPropertyValues ( boolean useDeprecated ) {
String assertingParty = useDeprecated ? "identityprovider" : "asserting - party";
String assertingParty = useDeprecated ? "identityprovider" : "asserting party";
return new String [ ] {
PREFIX + ".foo.signing.credentials[0].private-key-location=classpath:saml/private-key-location" ,
PREFIX + ".foo.signing.credentials[0].certificate-location=classpath:saml/certificate-location" ,