You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case the certificate location is ignored. This happens because the assertingparty properties that replaced identityprovider has a default non-null value of Verification. It and its empty List<Credential> is then used and the configured location of classpath:idp.crt is ignored.
Another symptom of this is that warnings are not logged about all of the deprecated properties. With the above YAML, the following is logged:
2023-03-09 09:59:22.213 WARN 69586 --- [ main] ml2RelyingPartyRegistrationConfiguration : Property 'spring.security.saml2.relyingparty.registration.identityprovider.adfs.entity-id' is deprecated, please use 'spring.security.saml2.relyingparty.registration.assertingparty.adfs.entity-id' instead
2023-03-09 09:59:24.152 WARN 69586 --- [ main] ml2RelyingPartyRegistrationConfiguration : Property 'spring.security.saml2.relyingparty.registration.identityprovider.adfs.singlesignon.url' is deprecated, please use 'spring.security.saml2.relyingparty.registration.assertingparty.adfs.singlesignon.url' instead
2023-03-09 09:59:25.123 WARN 69586 --- [ main] ml2RelyingPartyRegistrationConfiguration : Property 'spring.security.saml2.relyingparty.registration.identityprovider.adfs.singlesignon.sign-request' is deprecated, please use 'spring.security.saml2.relyingparty.registration.assertingparty.adfs.singlesignon.sign-request' instead
The text was updated successfully, but these errors were encountered:
With thanks to @Anubhav-2000 and @jvalkeal, as diagnosed in spring-projects/spring-security#12810, there are some situations where deprecated
identityprovider
properties are ignored. Consider this YAML:In this case the certificate location is ignored. This happens because the
assertingparty
properties that replacedidentityprovider
has a default non-null value ofVerification
. It and its emptyList<Credential>
is then used and the configured location ofclasspath:idp.crt
is ignored.Another symptom of this is that warnings are not logged about all of the deprecated properties. With the above YAML, the following is logged:
The text was updated successfully, but these errors were encountered: