From ce188d9325a54b928b7686512c69649cec110845 Mon Sep 17 00:00:00 2001 From: Dominic Watson Date: Fri, 30 Aug 2024 04:12:08 +0100 Subject: [PATCH] SAML-19 ensure new keys available with defaults when getting a provider --- services/saml/idp/SamlIdentityProviderService.cfc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/services/saml/idp/SamlIdentityProviderService.cfc b/services/saml/idp/SamlIdentityProviderService.cfc index 7cf1bd2..14ecacf 100644 --- a/services/saml/idp/SamlIdentityProviderService.cfc +++ b/services/saml/idp/SamlIdentityProviderService.cfc @@ -70,8 +70,10 @@ component { StructAppend( provider, pr, false ); } - provider.title = $translateResource( uri="saml2.identityProviders:#providerId#.title" , defaultValue=providerId ); - provider.description = $translateResource( uri="saml2.identityProviders:#providerId#.description", defaultValue="" ); + provider.title = $translateResource( uri="saml2.identityProviders:#providerId#.title" , defaultValue=providerId ); + provider.description = $translateResource( uri="saml2.identityProviders:#providerId#.description", defaultValue="" ); + provider.acClassRef = provider.acClassRef ?: "urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" + provider.acClassComparison = provider.acClassComparison ?: "minimum" return provider; }