Align asserting party property with Spring Boot
Closes gh-74
This commit is contained in:
parent
6892a95805
commit
cbbf5bb4bb
|
@ -68,7 +68,7 @@ public class RefreshableRelyingPartyRegistrationRepository
|
||||||
|
|
||||||
private void fetchMetadata(String registrationId, Saml2RelyingPartyProperties.Registration registration) {
|
private void fetchMetadata(String registrationId, Saml2RelyingPartyProperties.Registration registration) {
|
||||||
RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistrations
|
RelyingPartyRegistration relyingPartyRegistration = RelyingPartyRegistrations
|
||||||
.fromMetadataLocation(registration.getAssertingParty().getMetadataUri())
|
.fromMetadataLocation(registration.getAssertingparty().getMetadataUri())
|
||||||
.signingX509Credentials((credentials) -> registration.getSigning().getCredentials().stream()
|
.signingX509Credentials((credentials) -> registration.getSigning().getCredentials().stream()
|
||||||
.map(this::asSigningCredential).forEach(credentials::add))
|
.map(this::asSigningCredential).forEach(credentials::add))
|
||||||
.registrationId(registrationId).build();
|
.registrationId(registrationId).build();
|
||||||
|
|
|
@ -7,7 +7,7 @@ spring:
|
||||||
signing.credentials:
|
signing.credentials:
|
||||||
- private-key-location: classpath:credentials/rp-private.key
|
- private-key-location: classpath:credentials/rp-private.key
|
||||||
certificate-location: classpath:credentials/rp-certificate.crt
|
certificate-location: classpath:credentials/rp-certificate.crt
|
||||||
asserting-party:
|
assertingparty:
|
||||||
metadata-uri: https://dev-05937739.okta.com/app/exk46xofd8NZvFCpS5d7/sso/saml/metadata
|
metadata-uri: https://dev-05937739.okta.com/app/exk46xofd8NZvFCpS5d7/sso/saml/metadata
|
||||||
|
|
||||||
logging.level:
|
logging.level:
|
||||||
|
|
Loading…
Reference in New Issue