diff --git a/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/java/example/RefreshableRelyingPartyRegistrationRepository.java b/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/java/example/RefreshableRelyingPartyRegistrationRepository.java index bd07f1f..6790f38 100644 --- a/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/java/example/RefreshableRelyingPartyRegistrationRepository.java +++ b/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/java/example/RefreshableRelyingPartyRegistrationRepository.java @@ -68,7 +68,7 @@ public class RefreshableRelyingPartyRegistrationRepository private void fetchMetadata(String registrationId, Saml2RelyingPartyProperties.Registration registration) { RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistrations - .fromMetadataLocation(registration.getAssertingParty().getMetadataUri()) + .fromMetadataLocation(registration.getAssertingparty().getMetadataUri()) .signingX509Credentials((credentials) -> registration.getSigning().getCredentials().stream() .map(this::asSigningCredential).forEach(credentials::add)) .registrationId(registrationId).build(); diff --git a/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/resources/application.yml b/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/resources/application.yml index 2afdf1c..e4d47c5 100644 --- a/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/resources/application.yml +++ b/servlet/spring-boot/java/saml2/refreshable-metadata/src/main/resources/application.yml @@ -7,7 +7,7 @@ spring: signing.credentials: - private-key-location: classpath:credentials/rp-private.key certificate-location: classpath:credentials/rp-certificate.crt - asserting-party: + assertingparty: metadata-uri: https://dev-05937739.okta.com/app/exk46xofd8NZvFCpS5d7/sso/saml/metadata logging.level: