Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Fix idpSSOUrl and idpSLYUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
jorritfolmer committed Apr 3, 2018
1 parent 4f9ca87 commit 9844fb0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@
it { should contain_class('splunk::installed') }
it { should contain_package('splunk') }
it { should contain_file('/opt/splunk/etc/apps/puppet_common_auth_saml_base/local/authentication.conf').with_content(/idpSLOUrl = https:\/\/sso.internal.corp.tld\/adfs\/ls\?wa=wsignout1.0/) }
it { should contain_file('/opt/splunk/etc/apps/puppet_common_auth_saml_base/local/authentication.conf').with_content(/idpSSOUrl = https:\/\/sso.internal.corp.tld\/adfs\/ls/) }
it { should contain_file('/opt/splunk/etc/apps/puppet_common_auth_saml_base/local/authentication.conf').with_content(/signatureAlgorithm = RSA-SHA256/) }
it { should contain_file('/opt/splunk/etc/apps/puppet_common_auth_saml_base/local/authentication.conf').with_content(/signAuthnRequest = true/) }
it { should contain_file('/opt/splunk/etc/apps/puppet_common_auth_saml_base/local/authentication.conf').with_content(/signedAssertion = true/) }
end

context 'with ldap auth' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ entityId = <%= @auth['saml_entityid'] %>
fqdn = <%= @auth['saml_fqdn'] %>
<% end -%>
idpCertPath = <%= @splunk_home %>/etc/auth/idpCerts
idpSLOUrl = <%= @idpslourl %>
idpSSOUrl = <%= @idpssourl %>
idpSSOUrl = <%= @auth['saml_idpurl'] %>
idpSLOUrl = <%= @auth['saml_idpurl'] %>?wa=wsignout1.0
<% if @auth['saml_signaturealgorithm'].nil? -%>
signatureAlgorithm = <%= @auth_defaults['saml_signaturealgorithm'] %>
<% else -%>
Expand Down

0 comments on commit 9844fb0

Please sign in to comment.