@@ -195,7 +195,7 @@ def get_idp_cert_multi
195195
196196 raise ArgumentError . new ( "Invalid value for idp_cert_multi" ) if not idp_cert_multi . is_a? ( Hash )
197197
198- certs = { : signing => [ ] , : encryption => [ ] }
198+ certs = { signing : [ ] , encryption : [ ] }
199199
200200 [ :signing , :encryption ] . each do |type |
201201 certs_for_type = idp_cert_multi [ type ] || idp_cert_multi [ type . to_s ]
@@ -257,29 +257,29 @@ def get_binding(value)
257257 end
258258
259259 DEFAULTS = {
260- : assertion_consumer_service_binding => Utils ::BINDINGS [ :post ] ,
261- : single_logout_service_binding => Utils ::BINDINGS [ :redirect ] ,
262- : idp_cert_fingerprint_algorithm => XMLSecurity ::Document ::SHA1 ,
263- : compress_request => true ,
264- : compress_response => true ,
265- : message_max_bytesize => 250000 ,
266- : soft => true ,
267- : double_quote_xml_attribute_values => false ,
268- : security => {
269- : authn_requests_signed => false ,
270- : logout_requests_signed => false ,
271- : logout_responses_signed => false ,
272- : want_assertions_signed => false ,
273- : want_assertions_encrypted => false ,
274- : want_name_id => false ,
275- : metadata_signed => false ,
276- : embed_sign => false , # Deprecated
277- : digest_method => XMLSecurity ::Document ::SHA1 ,
278- : signature_method => XMLSecurity ::Document ::RSA_SHA1 ,
279- : check_idp_cert_expiration => false ,
280- : check_sp_cert_expiration => false ,
281- : strict_audience_validation => false ,
282- : lowercase_url_encoding => false
260+ assertion_consumer_service_binding : Utils ::BINDINGS [ :post ] ,
261+ single_logout_service_binding : Utils ::BINDINGS [ :redirect ] ,
262+ idp_cert_fingerprint_algorithm : XMLSecurity ::Document ::SHA1 ,
263+ compress_request : true ,
264+ compress_response : true ,
265+ message_max_bytesize : 250000 ,
266+ soft : true ,
267+ double_quote_xml_attribute_values : false ,
268+ security : {
269+ authn_requests_signed : false ,
270+ logout_requests_signed : false ,
271+ logout_responses_signed : false ,
272+ want_assertions_signed : false ,
273+ want_assertions_encrypted : false ,
274+ want_name_id : false ,
275+ metadata_signed : false ,
276+ embed_sign : false , # Deprecated
277+ digest_method : XMLSecurity ::Document ::SHA1 ,
278+ signature_method : XMLSecurity ::Document ::RSA_SHA1 ,
279+ check_idp_cert_expiration : false ,
280+ check_sp_cert_expiration : false ,
281+ strict_audience_validation : false ,
282+ lowercase_url_encoding : false
283283 } . freeze
284284 } . freeze
285285 end
0 commit comments