swagger_aem 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +17 -17
  3. data/README.md +25 -5
  4. data/docs/ConsoleApi.md +110 -0
  5. data/docs/CustomApi.md +4 -10
  6. data/docs/KeystoreChainItems.md +12 -0
  7. data/docs/KeystoreInfo.md +9 -0
  8. data/docs/KeystoreItems.md +12 -0
  9. data/docs/SamlConfigurationInfo.md +13 -0
  10. data/docs/SamlConfigurationProperties.md +31 -0
  11. data/docs/SamlConfigurationPropertyItemsArray.md +13 -0
  12. data/docs/SamlConfigurationPropertyItemsBoolean.md +13 -0
  13. data/docs/SamlConfigurationPropertyItemsLong.md +13 -0
  14. data/docs/SamlConfigurationPropertyItemsString.md +13 -0
  15. data/docs/SlingApi.md +550 -21
  16. data/docs/TruststoreInfo.md +9 -0
  17. data/docs/TruststoreItems.md +14 -0
  18. data/lib/swagger_aem.rb +12 -1
  19. data/lib/swagger_aem/api/console_api.rb +138 -1
  20. data/lib/swagger_aem/api/cq_api.rb +1 -1
  21. data/lib/swagger_aem/api/crx_api.rb +1 -1
  22. data/lib/swagger_aem/api/custom_api.rb +9 -21
  23. data/lib/swagger_aem/api/sling_api.rb +641 -41
  24. data/lib/swagger_aem/api_client.rb +1 -1
  25. data/lib/swagger_aem/api_error.rb +1 -1
  26. data/lib/swagger_aem/configuration.rb +1 -1
  27. data/lib/swagger_aem/models/install_status.rb +1 -1
  28. data/lib/swagger_aem/models/install_status_status.rb +1 -1
  29. data/lib/swagger_aem/models/keystore_chain_items.rb +229 -0
  30. data/lib/swagger_aem/models/keystore_info.rb +200 -0
  31. data/lib/swagger_aem/models/keystore_items.rb +230 -0
  32. data/lib/swagger_aem/models/saml_configuration_info.rb +238 -0
  33. data/lib/swagger_aem/models/saml_configuration_properties.rb +467 -0
  34. data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +241 -0
  35. data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +239 -0
  36. data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +239 -0
  37. data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +239 -0
  38. data/lib/swagger_aem/models/truststore_info.rb +200 -0
  39. data/lib/swagger_aem/models/truststore_items.rb +248 -0
  40. data/lib/swagger_aem/version.rb +2 -2
  41. data/spec/api/console_api_spec.rb +42 -1
  42. data/spec/api/cq_api_spec.rb +1 -1
  43. data/spec/api/crx_api_spec.rb +1 -1
  44. data/spec/api/custom_api_spec.rb +1 -3
  45. data/spec/api/sling_api_spec.rb +164 -5
  46. data/spec/api_client_spec.rb +1 -1
  47. data/spec/configuration_spec.rb +1 -1
  48. data/spec/models/install_status_spec.rb +1 -1
  49. data/spec/models/install_status_status_spec.rb +1 -1
  50. data/spec/models/keystore_chain_items_spec.rb +66 -0
  51. data/spec/models/keystore_info_spec.rb +48 -0
  52. data/spec/models/keystore_items_spec.rb +66 -0
  53. data/spec/models/saml_configuration_info_spec.rb +72 -0
  54. data/spec/models/saml_configuration_properties_spec.rb +180 -0
  55. data/spec/models/saml_configuration_property_items_array_spec.rb +72 -0
  56. data/spec/models/saml_configuration_property_items_boolean_spec.rb +72 -0
  57. data/spec/models/saml_configuration_property_items_long_spec.rb +72 -0
  58. data/spec/models/saml_configuration_property_items_string_spec.rb +72 -0
  59. data/spec/models/truststore_info_spec.rb +48 -0
  60. data/spec/models/truststore_items_spec.rb +78 -0
  61. data/spec/spec_helper.rb +1 -1
  62. data/swagger_aem.gemspec +2 -2
  63. metadata +47 -3
@@ -0,0 +1,9 @@
1
+ # SwaggerAemClient::TruststoreInfo
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **aliases** | [**Array<TruststoreItems>**](TruststoreItems.md) | | [optional]
7
+ **exists** | **BOOLEAN** | False if truststore don't exist | [optional]
8
+
9
+
@@ -0,0 +1,14 @@
1
+ # SwaggerAemClient::TruststoreItems
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **_alias** | **String** | Truststore alias name | [optional]
7
+ **entry_type** | **String** | | [optional]
8
+ **subject** | **String** | e.g. \"CN=localhost\" | [optional]
9
+ **issuer** | **String** | e.g. \"CN=Admin\" | [optional]
10
+ **not_before** | **String** | e.g. \"Sun Jul 01 12:00:00 AEST 2018\" | [optional]
11
+ **not_after** | **String** | e.g. \"Sun Jun 30 23:59:50 AEST 2019\" | [optional]
12
+ **serial_number** | **Integer** | 18165099476682912368 | [optional]
13
+
14
+
data/lib/swagger_aem.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.1
@@ -19,6 +19,17 @@ require 'swagger_aem/configuration'
19
19
  # Models
20
20
  require 'swagger_aem/models/install_status'
21
21
  require 'swagger_aem/models/install_status_status'
22
+ require 'swagger_aem/models/keystore_chain_items'
23
+ require 'swagger_aem/models/keystore_info'
24
+ require 'swagger_aem/models/keystore_items'
25
+ require 'swagger_aem/models/saml_configuration_info'
26
+ require 'swagger_aem/models/saml_configuration_properties'
27
+ require 'swagger_aem/models/saml_configuration_property_items_array'
28
+ require 'swagger_aem/models/saml_configuration_property_items_boolean'
29
+ require 'swagger_aem/models/saml_configuration_property_items_long'
30
+ require 'swagger_aem/models/saml_configuration_property_items_string'
31
+ require 'swagger_aem/models/truststore_info'
32
+ require 'swagger_aem/models/truststore_items'
22
33
 
23
34
  # APIs
24
35
  require 'swagger_aem/api/console_api'
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.1
@@ -130,5 +130,142 @@ module SwaggerAemClient
130
130
  end
131
131
  return data, status_code, headers
132
132
  end
133
+
134
+ #
135
+ #
136
+ # @param [Hash] opts the optional parameters
137
+ # @option opts [BOOLEAN] :post
138
+ # @option opts [BOOLEAN] :apply
139
+ # @option opts [BOOLEAN] :delete
140
+ # @option opts [String] :action
141
+ # @option opts [String] :location
142
+ # @option opts [Array<String>] :path
143
+ # @option opts [Integer] :service_ranking
144
+ # @option opts [String] :idp_url
145
+ # @option opts [String] :idp_cert_alias
146
+ # @option opts [BOOLEAN] :idp_http_redirect
147
+ # @option opts [String] :service_provider_entity_id
148
+ # @option opts [String] :assertion_consumer_service_url
149
+ # @option opts [String] :sp_private_key_alias
150
+ # @option opts [String] :key_store_password
151
+ # @option opts [String] :default_redirect_url
152
+ # @option opts [String] :user_id_attribute
153
+ # @option opts [BOOLEAN] :use_encryption
154
+ # @option opts [BOOLEAN] :create_user
155
+ # @option opts [BOOLEAN] :add_group_memberships
156
+ # @option opts [String] :group_membership_attribute
157
+ # @option opts [Array<String>] :default_groups
158
+ # @option opts [String] :name_id_format
159
+ # @option opts [Array<String>] :synchronize_attributes
160
+ # @option opts [BOOLEAN] :handle_logout
161
+ # @option opts [String] :logout_url
162
+ # @option opts [Integer] :clock_tolerance
163
+ # @option opts [String] :digest_method
164
+ # @option opts [String] :signature_method
165
+ # @option opts [String] :user_intermediate_path
166
+ # @option opts [Array<String>] :propertylist
167
+ # @return [SamlConfigurationInfo]
168
+ def post_saml_configuration(opts = {})
169
+ data, _status_code, _headers = post_saml_configuration_with_http_info(opts)
170
+ return data
171
+ end
172
+
173
+ #
174
+ #
175
+ # @param [Hash] opts the optional parameters
176
+ # @option opts [BOOLEAN] :post
177
+ # @option opts [BOOLEAN] :apply
178
+ # @option opts [BOOLEAN] :delete
179
+ # @option opts [String] :action
180
+ # @option opts [String] :location
181
+ # @option opts [Array<String>] :path
182
+ # @option opts [Integer] :service_ranking
183
+ # @option opts [String] :idp_url
184
+ # @option opts [String] :idp_cert_alias
185
+ # @option opts [BOOLEAN] :idp_http_redirect
186
+ # @option opts [String] :service_provider_entity_id
187
+ # @option opts [String] :assertion_consumer_service_url
188
+ # @option opts [String] :sp_private_key_alias
189
+ # @option opts [String] :key_store_password
190
+ # @option opts [String] :default_redirect_url
191
+ # @option opts [String] :user_id_attribute
192
+ # @option opts [BOOLEAN] :use_encryption
193
+ # @option opts [BOOLEAN] :create_user
194
+ # @option opts [BOOLEAN] :add_group_memberships
195
+ # @option opts [String] :group_membership_attribute
196
+ # @option opts [Array<String>] :default_groups
197
+ # @option opts [String] :name_id_format
198
+ # @option opts [Array<String>] :synchronize_attributes
199
+ # @option opts [BOOLEAN] :handle_logout
200
+ # @option opts [String] :logout_url
201
+ # @option opts [Integer] :clock_tolerance
202
+ # @option opts [String] :digest_method
203
+ # @option opts [String] :signature_method
204
+ # @option opts [String] :user_intermediate_path
205
+ # @option opts [Array<String>] :propertylist
206
+ # @return [Array<(SamlConfigurationInfo, Fixnum, Hash)>] SamlConfigurationInfo data, response status code and response headers
207
+ def post_saml_configuration_with_http_info(opts = {})
208
+ if @api_client.config.debugging
209
+ @api_client.config.logger.debug "Calling API: ConsoleApi.post_saml_configuration ..."
210
+ end
211
+ # resource path
212
+ local_var_path = "/system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler"
213
+
214
+ # query parameters
215
+ query_params = {}
216
+ query_params[:'post'] = opts[:'post'] if !opts[:'post'].nil?
217
+ query_params[:'apply'] = opts[:'apply'] if !opts[:'apply'].nil?
218
+ query_params[:'delete'] = opts[:'delete'] if !opts[:'delete'].nil?
219
+ query_params[:'action'] = opts[:'action'] if !opts[:'action'].nil?
220
+ query_params[:'$location'] = opts[:'location'] if !opts[:'location'].nil?
221
+ query_params[:'path'] = @api_client.build_collection_param(opts[:'path'], :multi) if !opts[:'path'].nil?
222
+ query_params[:'service.ranking'] = opts[:'service_ranking'] if !opts[:'service_ranking'].nil?
223
+ query_params[:'idpUrl'] = opts[:'idp_url'] if !opts[:'idp_url'].nil?
224
+ query_params[:'idpCertAlias'] = opts[:'idp_cert_alias'] if !opts[:'idp_cert_alias'].nil?
225
+ query_params[:'idpHttpRedirect'] = opts[:'idp_http_redirect'] if !opts[:'idp_http_redirect'].nil?
226
+ query_params[:'serviceProviderEntityId'] = opts[:'service_provider_entity_id'] if !opts[:'service_provider_entity_id'].nil?
227
+ query_params[:'assertionConsumerServiceURL'] = opts[:'assertion_consumer_service_url'] if !opts[:'assertion_consumer_service_url'].nil?
228
+ query_params[:'spPrivateKeyAlias'] = opts[:'sp_private_key_alias'] if !opts[:'sp_private_key_alias'].nil?
229
+ query_params[:'keyStorePassword'] = opts[:'key_store_password'] if !opts[:'key_store_password'].nil?
230
+ query_params[:'defaultRedirectUrl'] = opts[:'default_redirect_url'] if !opts[:'default_redirect_url'].nil?
231
+ query_params[:'userIDAttribute'] = opts[:'user_id_attribute'] if !opts[:'user_id_attribute'].nil?
232
+ query_params[:'useEncryption'] = opts[:'use_encryption'] if !opts[:'use_encryption'].nil?
233
+ query_params[:'createUser'] = opts[:'create_user'] if !opts[:'create_user'].nil?
234
+ query_params[:'addGroupMemberships'] = opts[:'add_group_memberships'] if !opts[:'add_group_memberships'].nil?
235
+ query_params[:'groupMembershipAttribute'] = opts[:'group_membership_attribute'] if !opts[:'group_membership_attribute'].nil?
236
+ query_params[:'defaultGroups'] = @api_client.build_collection_param(opts[:'default_groups'], :multi) if !opts[:'default_groups'].nil?
237
+ query_params[:'nameIdFormat'] = opts[:'name_id_format'] if !opts[:'name_id_format'].nil?
238
+ query_params[:'synchronizeAttributes'] = @api_client.build_collection_param(opts[:'synchronize_attributes'], :multi) if !opts[:'synchronize_attributes'].nil?
239
+ query_params[:'handleLogout'] = opts[:'handle_logout'] if !opts[:'handle_logout'].nil?
240
+ query_params[:'logoutUrl'] = opts[:'logout_url'] if !opts[:'logout_url'].nil?
241
+ query_params[:'clockTolerance'] = opts[:'clock_tolerance'] if !opts[:'clock_tolerance'].nil?
242
+ query_params[:'digestMethod'] = opts[:'digest_method'] if !opts[:'digest_method'].nil?
243
+ query_params[:'signatureMethod'] = opts[:'signature_method'] if !opts[:'signature_method'].nil?
244
+ query_params[:'userIntermediatePath'] = opts[:'user_intermediate_path'] if !opts[:'user_intermediate_path'].nil?
245
+ query_params[:'propertylist'] = @api_client.build_collection_param(opts[:'propertylist'], :csv) if !opts[:'propertylist'].nil?
246
+
247
+ # header parameters
248
+ header_params = {}
249
+ # HTTP header 'Accept' (if needed)
250
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
251
+
252
+ # form parameters
253
+ form_params = {}
254
+
255
+ # http body (model)
256
+ post_body = nil
257
+ auth_names = ['aemAuth']
258
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
259
+ :header_params => header_params,
260
+ :query_params => query_params,
261
+ :form_params => form_params,
262
+ :body => post_body,
263
+ :auth_names => auth_names,
264
+ :return_type => 'SamlConfigurationInfo')
265
+ if @api_client.config.debugging
266
+ @api_client.config.logger.debug "API called: ConsoleApi#post_saml_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
267
+ end
268
+ return data, status_code, headers
269
+ end
133
270
  end
134
271
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.1
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.1
@@ -75,33 +75,27 @@ module SwaggerAemClient
75
75
 
76
76
  #
77
77
  #
78
- # @param runmode
79
78
  # @param [Hash] opts the optional parameters
80
79
  # @option opts [Array<String>] :bundles_ignored
81
80
  # @option opts [String] :bundles_ignored_type_hint
82
81
  # @return [nil]
83
- def post_config_aem_health_check_servlet(runmode, opts = {})
84
- post_config_aem_health_check_servlet_with_http_info(runmode, opts)
82
+ def post_config_aem_health_check_servlet(opts = {})
83
+ post_config_aem_health_check_servlet_with_http_info(opts)
85
84
  return nil
86
85
  end
87
86
 
88
87
  #
89
88
  #
90
- # @param runmode
91
89
  # @param [Hash] opts the optional parameters
92
90
  # @option opts [Array<String>] :bundles_ignored
93
91
  # @option opts [String] :bundles_ignored_type_hint
94
92
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
95
- def post_config_aem_health_check_servlet_with_http_info(runmode, opts = {})
93
+ def post_config_aem_health_check_servlet_with_http_info(opts = {})
96
94
  if @api_client.config.debugging
97
95
  @api_client.config.logger.debug "Calling API: CustomApi.post_config_aem_health_check_servlet ..."
98
96
  end
99
- # verify the required parameter 'runmode' is set
100
- if @api_client.config.client_side_validation && runmode.nil?
101
- fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_health_check_servlet"
102
- end
103
97
  # resource path
104
- local_var_path = "/apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck".sub('{' + 'runmode' + '}', runmode.to_s)
98
+ local_var_path = "/apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck"
105
99
 
106
100
  # query parameters
107
101
  query_params = {}
@@ -133,33 +127,27 @@ module SwaggerAemClient
133
127
 
134
128
  #
135
129
  #
136
- # @param runmode
137
130
  # @param [Hash] opts the optional parameters
138
131
  # @option opts [Array<String>] :pwdreset_authorizables
139
132
  # @option opts [String] :pwdreset_authorizables_type_hint
140
133
  # @return [nil]
141
- def post_config_aem_password_reset(runmode, opts = {})
142
- post_config_aem_password_reset_with_http_info(runmode, opts)
134
+ def post_config_aem_password_reset(opts = {})
135
+ post_config_aem_password_reset_with_http_info(opts)
143
136
  return nil
144
137
  end
145
138
 
146
139
  #
147
140
  #
148
- # @param runmode
149
141
  # @param [Hash] opts the optional parameters
150
142
  # @option opts [Array<String>] :pwdreset_authorizables
151
143
  # @option opts [String] :pwdreset_authorizables_type_hint
152
144
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
153
- def post_config_aem_password_reset_with_http_info(runmode, opts = {})
145
+ def post_config_aem_password_reset_with_http_info(opts = {})
154
146
  if @api_client.config.debugging
155
147
  @api_client.config.logger.debug "Calling API: CustomApi.post_config_aem_password_reset ..."
156
148
  end
157
- # verify the required parameter 'runmode' is set
158
- if @api_client.config.client_side_validation && runmode.nil?
159
- fail ArgumentError, "Missing the required parameter 'runmode' when calling CustomApi.post_config_aem_password_reset"
160
- end
161
149
  # resource path
162
- local_var_path = "/apps/system/config/com.shinesolutions.aem.passwordreset.Activator".sub('{' + 'runmode' + '}', runmode.to_s)
150
+ local_var_path = "/apps/system/config/com.shinesolutions.aem.passwordreset.Activator"
163
151
 
164
152
  # query parameters
165
153
  query_params = {}
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.1
@@ -247,6 +247,124 @@ module SwaggerAemClient
247
247
  return data, status_code, headers
248
248
  end
249
249
 
250
+ #
251
+ #
252
+ # @param intermediate_path
253
+ # @param authorizable_id
254
+ # @param [Hash] opts the optional parameters
255
+ # @return [KeystoreInfo]
256
+ def get_authorizable_keystore(intermediate_path, authorizable_id, opts = {})
257
+ data, _status_code, _headers = get_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts)
258
+ return data
259
+ end
260
+
261
+ #
262
+ #
263
+ # @param intermediate_path
264
+ # @param authorizable_id
265
+ # @param [Hash] opts the optional parameters
266
+ # @return [Array<(KeystoreInfo, Fixnum, Hash)>] KeystoreInfo data, response status code and response headers
267
+ def get_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
268
+ if @api_client.config.debugging
269
+ @api_client.config.logger.debug "Calling API: SlingApi.get_authorizable_keystore ..."
270
+ end
271
+ # verify the required parameter 'intermediate_path' is set
272
+ if @api_client.config.client_side_validation && intermediate_path.nil?
273
+ fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.get_authorizable_keystore"
274
+ end
275
+ # verify the required parameter 'authorizable_id' is set
276
+ if @api_client.config.client_side_validation && authorizable_id.nil?
277
+ fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_authorizable_keystore"
278
+ end
279
+ # resource path
280
+ local_var_path = "/{intermediatePath}/{authorizableId}.ks.json".sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
281
+
282
+ # query parameters
283
+ query_params = {}
284
+
285
+ # header parameters
286
+ header_params = {}
287
+ # HTTP header 'Accept' (if needed)
288
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
289
+
290
+ # form parameters
291
+ form_params = {}
292
+
293
+ # http body (model)
294
+ post_body = nil
295
+ auth_names = ['aemAuth']
296
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
297
+ :header_params => header_params,
298
+ :query_params => query_params,
299
+ :form_params => form_params,
300
+ :body => post_body,
301
+ :auth_names => auth_names,
302
+ :return_type => 'KeystoreInfo')
303
+ if @api_client.config.debugging
304
+ @api_client.config.logger.debug "API called: SlingApi#get_authorizable_keystore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
305
+ end
306
+ return data, status_code, headers
307
+ end
308
+
309
+ #
310
+ #
311
+ # @param intermediate_path
312
+ # @param authorizable_id
313
+ # @param [Hash] opts the optional parameters
314
+ # @return [File]
315
+ def get_keystore(intermediate_path, authorizable_id, opts = {})
316
+ data, _status_code, _headers = get_keystore_with_http_info(intermediate_path, authorizable_id, opts)
317
+ return data
318
+ end
319
+
320
+ #
321
+ #
322
+ # @param intermediate_path
323
+ # @param authorizable_id
324
+ # @param [Hash] opts the optional parameters
325
+ # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
326
+ def get_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
327
+ if @api_client.config.debugging
328
+ @api_client.config.logger.debug "Calling API: SlingApi.get_keystore ..."
329
+ end
330
+ # verify the required parameter 'intermediate_path' is set
331
+ if @api_client.config.client_side_validation && intermediate_path.nil?
332
+ fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.get_keystore"
333
+ end
334
+ # verify the required parameter 'authorizable_id' is set
335
+ if @api_client.config.client_side_validation && authorizable_id.nil?
336
+ fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_keystore"
337
+ end
338
+ # resource path
339
+ local_var_path = "/{intermediatePath}/{authorizableId}/keystore/store.p12".sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
340
+
341
+ # query parameters
342
+ query_params = {}
343
+
344
+ # header parameters
345
+ header_params = {}
346
+ # HTTP header 'Accept' (if needed)
347
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
348
+
349
+ # form parameters
350
+ form_params = {}
351
+
352
+ # http body (model)
353
+ post_body = nil
354
+ auth_names = ['aemAuth']
355
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
356
+ :header_params => header_params,
357
+ :query_params => query_params,
358
+ :form_params => form_params,
359
+ :body => post_body,
360
+ :auth_names => auth_names,
361
+ :return_type => 'File')
362
+ if @api_client.config.debugging
363
+ @api_client.config.logger.debug "API called: SlingApi#get_keystore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
364
+ end
365
+ return data, status_code, headers
366
+ end
367
+
250
368
  #
251
369
  #
252
370
  # @param path
@@ -510,6 +628,100 @@ module SwaggerAemClient
510
628
  return data, status_code, headers
511
629
  end
512
630
 
631
+ #
632
+ #
633
+ # @param [Hash] opts the optional parameters
634
+ # @return [File]
635
+ def get_truststore(opts = {})
636
+ data, _status_code, _headers = get_truststore_with_http_info(opts)
637
+ return data
638
+ end
639
+
640
+ #
641
+ #
642
+ # @param [Hash] opts the optional parameters
643
+ # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
644
+ def get_truststore_with_http_info(opts = {})
645
+ if @api_client.config.debugging
646
+ @api_client.config.logger.debug "Calling API: SlingApi.get_truststore ..."
647
+ end
648
+ # resource path
649
+ local_var_path = "/etc/truststore/truststore.p12"
650
+
651
+ # query parameters
652
+ query_params = {}
653
+
654
+ # header parameters
655
+ header_params = {}
656
+ # HTTP header 'Accept' (if needed)
657
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
658
+
659
+ # form parameters
660
+ form_params = {}
661
+
662
+ # http body (model)
663
+ post_body = nil
664
+ auth_names = ['aemAuth']
665
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
666
+ :header_params => header_params,
667
+ :query_params => query_params,
668
+ :form_params => form_params,
669
+ :body => post_body,
670
+ :auth_names => auth_names,
671
+ :return_type => 'File')
672
+ if @api_client.config.debugging
673
+ @api_client.config.logger.debug "API called: SlingApi#get_truststore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
674
+ end
675
+ return data, status_code, headers
676
+ end
677
+
678
+ #
679
+ #
680
+ # @param [Hash] opts the optional parameters
681
+ # @return [TruststoreInfo]
682
+ def get_truststore_info(opts = {})
683
+ data, _status_code, _headers = get_truststore_info_with_http_info(opts)
684
+ return data
685
+ end
686
+
687
+ #
688
+ #
689
+ # @param [Hash] opts the optional parameters
690
+ # @return [Array<(TruststoreInfo, Fixnum, Hash)>] TruststoreInfo data, response status code and response headers
691
+ def get_truststore_info_with_http_info(opts = {})
692
+ if @api_client.config.debugging
693
+ @api_client.config.logger.debug "Calling API: SlingApi.get_truststore_info ..."
694
+ end
695
+ # resource path
696
+ local_var_path = "/libs/granite/security/truststore.json"
697
+
698
+ # query parameters
699
+ query_params = {}
700
+
701
+ # header parameters
702
+ header_params = {}
703
+ # HTTP header 'Accept' (if needed)
704
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
705
+
706
+ # form parameters
707
+ form_params = {}
708
+
709
+ # http body (model)
710
+ post_body = nil
711
+ auth_names = ['aemAuth']
712
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
713
+ :header_params => header_params,
714
+ :query_params => query_params,
715
+ :form_params => form_params,
716
+ :body => post_body,
717
+ :auth_names => auth_names,
718
+ :return_type => 'TruststoreInfo')
719
+ if @api_client.config.debugging
720
+ @api_client.config.logger.debug "API called: SlingApi#get_truststore_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
721
+ end
722
+ return data, status_code, headers
723
+ end
724
+
513
725
  #
514
726
  #
515
727
  # @param runmode
@@ -718,6 +930,103 @@ module SwaggerAemClient
718
930
  return data, status_code, headers
719
931
  end
720
932
 
933
+ #
934
+ #
935
+ # @param intermediate_path
936
+ # @param authorizable_id
937
+ # @param [Hash] opts the optional parameters
938
+ # @option opts [String] :operation
939
+ # @option opts [String] :current_password
940
+ # @option opts [String] :new_password
941
+ # @option opts [String] :re_password
942
+ # @option opts [String] :key_password
943
+ # @option opts [String] :key_store_pass
944
+ # @option opts [String] :_alias
945
+ # @option opts [String] :new_alias
946
+ # @option opts [String] :remove_alias
947
+ # @option opts [File] :cert_chain
948
+ # @option opts [File] :pk
949
+ # @option opts [File] :key_store
950
+ # @return [KeystoreInfo]
951
+ def post_authorizable_keystore(intermediate_path, authorizable_id, opts = {})
952
+ data, _status_code, _headers = post_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts)
953
+ return data
954
+ end
955
+
956
+ #
957
+ #
958
+ # @param intermediate_path
959
+ # @param authorizable_id
960
+ # @param [Hash] opts the optional parameters
961
+ # @option opts [String] :operation
962
+ # @option opts [String] :current_password
963
+ # @option opts [String] :new_password
964
+ # @option opts [String] :re_password
965
+ # @option opts [String] :key_password
966
+ # @option opts [String] :key_store_pass
967
+ # @option opts [String] :_alias
968
+ # @option opts [String] :new_alias
969
+ # @option opts [String] :remove_alias
970
+ # @option opts [File] :cert_chain
971
+ # @option opts [File] :pk
972
+ # @option opts [File] :key_store
973
+ # @return [Array<(KeystoreInfo, Fixnum, Hash)>] KeystoreInfo data, response status code and response headers
974
+ def post_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
975
+ if @api_client.config.debugging
976
+ @api_client.config.logger.debug "Calling API: SlingApi.post_authorizable_keystore ..."
977
+ end
978
+ # verify the required parameter 'intermediate_path' is set
979
+ if @api_client.config.client_side_validation && intermediate_path.nil?
980
+ fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.post_authorizable_keystore"
981
+ end
982
+ # verify the required parameter 'authorizable_id' is set
983
+ if @api_client.config.client_side_validation && authorizable_id.nil?
984
+ fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizable_keystore"
985
+ end
986
+ # resource path
987
+ local_var_path = "/{intermediatePath}/{authorizableId}.ks.html".sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
988
+
989
+ # query parameters
990
+ query_params = {}
991
+ query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil?
992
+ query_params[:'currentPassword'] = opts[:'current_password'] if !opts[:'current_password'].nil?
993
+ query_params[:'newPassword'] = opts[:'new_password'] if !opts[:'new_password'].nil?
994
+ query_params[:'rePassword'] = opts[:'re_password'] if !opts[:'re_password'].nil?
995
+ query_params[:'keyPassword'] = opts[:'key_password'] if !opts[:'key_password'].nil?
996
+ query_params[:'keyStorePass'] = opts[:'key_store_pass'] if !opts[:'key_store_pass'].nil?
997
+ query_params[:'alias'] = opts[:'_alias'] if !opts[:'_alias'].nil?
998
+ query_params[:'newAlias'] = opts[:'new_alias'] if !opts[:'new_alias'].nil?
999
+ query_params[:'removeAlias'] = opts[:'remove_alias'] if !opts[:'remove_alias'].nil?
1000
+
1001
+ # header parameters
1002
+ header_params = {}
1003
+ # HTTP header 'Accept' (if needed)
1004
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1005
+ # HTTP header 'Content-Type'
1006
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1007
+
1008
+ # form parameters
1009
+ form_params = {}
1010
+ form_params["cert-chain"] = opts[:'cert_chain'] if !opts[:'cert_chain'].nil?
1011
+ form_params["pk"] = opts[:'pk'] if !opts[:'pk'].nil?
1012
+ form_params["keyStore"] = opts[:'key_store'] if !opts[:'key_store'].nil?
1013
+
1014
+ # http body (model)
1015
+ post_body = nil
1016
+ auth_names = ['aemAuth']
1017
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1018
+ :header_params => header_params,
1019
+ :query_params => query_params,
1020
+ :form_params => form_params,
1021
+ :body => post_body,
1022
+ :auth_names => auth_names,
1023
+ :return_type => 'KeystoreInfo')
1024
+ if @api_client.config.debugging
1025
+ @api_client.config.logger.debug "API called: SlingApi#post_authorizable_keystore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1026
+ end
1027
+ return data, status_code, headers
1028
+ end
1029
+
721
1030
  #
722
1031
  #
723
1032
  # @param authorizable_id
@@ -793,7 +1102,196 @@ module SwaggerAemClient
793
1102
 
794
1103
  #
795
1104
  #
796
- # @param runmode
1105
+ # @param [Hash] opts the optional parameters
1106
+ # @option opts [String] :key_store_password
1107
+ # @option opts [String] :key_store_password_type_hint
1108
+ # @option opts [Integer] :service_ranking
1109
+ # @option opts [String] :service_ranking_type_hint
1110
+ # @option opts [BOOLEAN] :idp_http_redirect
1111
+ # @option opts [String] :idp_http_redirect_type_hint
1112
+ # @option opts [BOOLEAN] :create_user
1113
+ # @option opts [String] :create_user_type_hint
1114
+ # @option opts [String] :default_redirect_url
1115
+ # @option opts [String] :default_redirect_url_type_hint
1116
+ # @option opts [String] :user_id_attribute
1117
+ # @option opts [String] :user_id_attribute_type_hint
1118
+ # @option opts [Array<String>] :default_groups
1119
+ # @option opts [String] :default_groups_type_hint
1120
+ # @option opts [String] :idp_cert_alias
1121
+ # @option opts [String] :idp_cert_alias_type_hint
1122
+ # @option opts [BOOLEAN] :add_group_memberships
1123
+ # @option opts [String] :add_group_memberships_type_hint
1124
+ # @option opts [Array<String>] :path
1125
+ # @option opts [String] :path_type_hint
1126
+ # @option opts [Array<String>] :synchronize_attributes
1127
+ # @option opts [String] :synchronize_attributes_type_hint
1128
+ # @option opts [Integer] :clock_tolerance
1129
+ # @option opts [String] :clock_tolerance_type_hint
1130
+ # @option opts [String] :group_membership_attribute
1131
+ # @option opts [String] :group_membership_attribute_type_hint
1132
+ # @option opts [String] :idp_url
1133
+ # @option opts [String] :idp_url_type_hint
1134
+ # @option opts [String] :logout_url
1135
+ # @option opts [String] :logout_url_type_hint
1136
+ # @option opts [String] :service_provider_entity_id
1137
+ # @option opts [String] :service_provider_entity_id_type_hint
1138
+ # @option opts [String] :assertion_consumer_service_url
1139
+ # @option opts [String] :assertion_consumer_service_url_type_hint
1140
+ # @option opts [BOOLEAN] :handle_logout
1141
+ # @option opts [String] :handle_logout_type_hint
1142
+ # @option opts [String] :sp_private_key_alias
1143
+ # @option opts [String] :sp_private_key_alias_type_hint
1144
+ # @option opts [BOOLEAN] :use_encryption
1145
+ # @option opts [String] :use_encryption_type_hint
1146
+ # @option opts [String] :name_id_format
1147
+ # @option opts [String] :name_id_format_type_hint
1148
+ # @option opts [String] :digest_method
1149
+ # @option opts [String] :digest_method_type_hint
1150
+ # @option opts [String] :signature_method
1151
+ # @option opts [String] :signature_method_type_hint
1152
+ # @option opts [String] :user_intermediate_path
1153
+ # @option opts [String] :user_intermediate_path_type_hint
1154
+ # @return [nil]
1155
+ def post_config_adobe_granite_saml_authentication_handler(opts = {})
1156
+ post_config_adobe_granite_saml_authentication_handler_with_http_info(opts)
1157
+ return nil
1158
+ end
1159
+
1160
+ #
1161
+ #
1162
+ # @param [Hash] opts the optional parameters
1163
+ # @option opts [String] :key_store_password
1164
+ # @option opts [String] :key_store_password_type_hint
1165
+ # @option opts [Integer] :service_ranking
1166
+ # @option opts [String] :service_ranking_type_hint
1167
+ # @option opts [BOOLEAN] :idp_http_redirect
1168
+ # @option opts [String] :idp_http_redirect_type_hint
1169
+ # @option opts [BOOLEAN] :create_user
1170
+ # @option opts [String] :create_user_type_hint
1171
+ # @option opts [String] :default_redirect_url
1172
+ # @option opts [String] :default_redirect_url_type_hint
1173
+ # @option opts [String] :user_id_attribute
1174
+ # @option opts [String] :user_id_attribute_type_hint
1175
+ # @option opts [Array<String>] :default_groups
1176
+ # @option opts [String] :default_groups_type_hint
1177
+ # @option opts [String] :idp_cert_alias
1178
+ # @option opts [String] :idp_cert_alias_type_hint
1179
+ # @option opts [BOOLEAN] :add_group_memberships
1180
+ # @option opts [String] :add_group_memberships_type_hint
1181
+ # @option opts [Array<String>] :path
1182
+ # @option opts [String] :path_type_hint
1183
+ # @option opts [Array<String>] :synchronize_attributes
1184
+ # @option opts [String] :synchronize_attributes_type_hint
1185
+ # @option opts [Integer] :clock_tolerance
1186
+ # @option opts [String] :clock_tolerance_type_hint
1187
+ # @option opts [String] :group_membership_attribute
1188
+ # @option opts [String] :group_membership_attribute_type_hint
1189
+ # @option opts [String] :idp_url
1190
+ # @option opts [String] :idp_url_type_hint
1191
+ # @option opts [String] :logout_url
1192
+ # @option opts [String] :logout_url_type_hint
1193
+ # @option opts [String] :service_provider_entity_id
1194
+ # @option opts [String] :service_provider_entity_id_type_hint
1195
+ # @option opts [String] :assertion_consumer_service_url
1196
+ # @option opts [String] :assertion_consumer_service_url_type_hint
1197
+ # @option opts [BOOLEAN] :handle_logout
1198
+ # @option opts [String] :handle_logout_type_hint
1199
+ # @option opts [String] :sp_private_key_alias
1200
+ # @option opts [String] :sp_private_key_alias_type_hint
1201
+ # @option opts [BOOLEAN] :use_encryption
1202
+ # @option opts [String] :use_encryption_type_hint
1203
+ # @option opts [String] :name_id_format
1204
+ # @option opts [String] :name_id_format_type_hint
1205
+ # @option opts [String] :digest_method
1206
+ # @option opts [String] :digest_method_type_hint
1207
+ # @option opts [String] :signature_method
1208
+ # @option opts [String] :signature_method_type_hint
1209
+ # @option opts [String] :user_intermediate_path
1210
+ # @option opts [String] :user_intermediate_path_type_hint
1211
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1212
+ def post_config_adobe_granite_saml_authentication_handler_with_http_info(opts = {})
1213
+ if @api_client.config.debugging
1214
+ @api_client.config.logger.debug "Calling API: SlingApi.post_config_adobe_granite_saml_authentication_handler ..."
1215
+ end
1216
+ # resource path
1217
+ local_var_path = "/apps/system/config/com.adobe.granite.auth.saml.SamlAuthenticationHandler.config"
1218
+
1219
+ # query parameters
1220
+ query_params = {}
1221
+ query_params[:'keyStorePassword'] = opts[:'key_store_password'] if !opts[:'key_store_password'].nil?
1222
+ query_params[:'keyStorePassword@TypeHint'] = opts[:'key_store_password_type_hint'] if !opts[:'key_store_password_type_hint'].nil?
1223
+ query_params[:'service.ranking'] = opts[:'service_ranking'] if !opts[:'service_ranking'].nil?
1224
+ query_params[:'service.ranking@TypeHint'] = opts[:'service_ranking_type_hint'] if !opts[:'service_ranking_type_hint'].nil?
1225
+ query_params[:'idpHttpRedirect'] = opts[:'idp_http_redirect'] if !opts[:'idp_http_redirect'].nil?
1226
+ query_params[:'idpHttpRedirect@TypeHint'] = opts[:'idp_http_redirect_type_hint'] if !opts[:'idp_http_redirect_type_hint'].nil?
1227
+ query_params[:'createUser'] = opts[:'create_user'] if !opts[:'create_user'].nil?
1228
+ query_params[:'createUser@TypeHint'] = opts[:'create_user_type_hint'] if !opts[:'create_user_type_hint'].nil?
1229
+ query_params[:'defaultRedirectUrl'] = opts[:'default_redirect_url'] if !opts[:'default_redirect_url'].nil?
1230
+ query_params[:'defaultRedirectUrl@TypeHint'] = opts[:'default_redirect_url_type_hint'] if !opts[:'default_redirect_url_type_hint'].nil?
1231
+ query_params[:'userIDAttribute'] = opts[:'user_id_attribute'] if !opts[:'user_id_attribute'].nil?
1232
+ query_params[:'userIDAttribute@TypeHint'] = opts[:'user_id_attribute_type_hint'] if !opts[:'user_id_attribute_type_hint'].nil?
1233
+ query_params[:'defaultGroups'] = @api_client.build_collection_param(opts[:'default_groups'], :multi) if !opts[:'default_groups'].nil?
1234
+ query_params[:'defaultGroups@TypeHint'] = opts[:'default_groups_type_hint'] if !opts[:'default_groups_type_hint'].nil?
1235
+ query_params[:'idpCertAlias'] = opts[:'idp_cert_alias'] if !opts[:'idp_cert_alias'].nil?
1236
+ query_params[:'idpCertAlias@TypeHint'] = opts[:'idp_cert_alias_type_hint'] if !opts[:'idp_cert_alias_type_hint'].nil?
1237
+ query_params[:'addGroupMemberships'] = opts[:'add_group_memberships'] if !opts[:'add_group_memberships'].nil?
1238
+ query_params[:'addGroupMemberships@TypeHint'] = opts[:'add_group_memberships_type_hint'] if !opts[:'add_group_memberships_type_hint'].nil?
1239
+ query_params[:'path'] = @api_client.build_collection_param(opts[:'path'], :multi) if !opts[:'path'].nil?
1240
+ query_params[:'path@TypeHint'] = opts[:'path_type_hint'] if !opts[:'path_type_hint'].nil?
1241
+ query_params[:'synchronizeAttributes'] = @api_client.build_collection_param(opts[:'synchronize_attributes'], :multi) if !opts[:'synchronize_attributes'].nil?
1242
+ query_params[:'synchronizeAttributes@TypeHint'] = opts[:'synchronize_attributes_type_hint'] if !opts[:'synchronize_attributes_type_hint'].nil?
1243
+ query_params[:'clockTolerance'] = opts[:'clock_tolerance'] if !opts[:'clock_tolerance'].nil?
1244
+ query_params[:'clockTolerance@TypeHint'] = opts[:'clock_tolerance_type_hint'] if !opts[:'clock_tolerance_type_hint'].nil?
1245
+ query_params[:'groupMembershipAttribute'] = opts[:'group_membership_attribute'] if !opts[:'group_membership_attribute'].nil?
1246
+ query_params[:'groupMembershipAttribute@TypeHint'] = opts[:'group_membership_attribute_type_hint'] if !opts[:'group_membership_attribute_type_hint'].nil?
1247
+ query_params[:'idpUrl'] = opts[:'idp_url'] if !opts[:'idp_url'].nil?
1248
+ query_params[:'idpUrl@TypeHint'] = opts[:'idp_url_type_hint'] if !opts[:'idp_url_type_hint'].nil?
1249
+ query_params[:'logoutUrl'] = opts[:'logout_url'] if !opts[:'logout_url'].nil?
1250
+ query_params[:'logoutUrl@TypeHint'] = opts[:'logout_url_type_hint'] if !opts[:'logout_url_type_hint'].nil?
1251
+ query_params[:'serviceProviderEntityId'] = opts[:'service_provider_entity_id'] if !opts[:'service_provider_entity_id'].nil?
1252
+ query_params[:'serviceProviderEntityId@TypeHint'] = opts[:'service_provider_entity_id_type_hint'] if !opts[:'service_provider_entity_id_type_hint'].nil?
1253
+ query_params[:'assertionConsumerServiceURL'] = opts[:'assertion_consumer_service_url'] if !opts[:'assertion_consumer_service_url'].nil?
1254
+ query_params[:'assertionConsumerServiceURL@TypeHint'] = opts[:'assertion_consumer_service_url_type_hint'] if !opts[:'assertion_consumer_service_url_type_hint'].nil?
1255
+ query_params[:'handleLogout'] = opts[:'handle_logout'] if !opts[:'handle_logout'].nil?
1256
+ query_params[:'handleLogout@TypeHint'] = opts[:'handle_logout_type_hint'] if !opts[:'handle_logout_type_hint'].nil?
1257
+ query_params[:'spPrivateKeyAlias'] = opts[:'sp_private_key_alias'] if !opts[:'sp_private_key_alias'].nil?
1258
+ query_params[:'spPrivateKeyAlias@TypeHint'] = opts[:'sp_private_key_alias_type_hint'] if !opts[:'sp_private_key_alias_type_hint'].nil?
1259
+ query_params[:'useEncryption'] = opts[:'use_encryption'] if !opts[:'use_encryption'].nil?
1260
+ query_params[:'useEncryption@TypeHint'] = opts[:'use_encryption_type_hint'] if !opts[:'use_encryption_type_hint'].nil?
1261
+ query_params[:'nameIdFormat'] = opts[:'name_id_format'] if !opts[:'name_id_format'].nil?
1262
+ query_params[:'nameIdFormat@TypeHint'] = opts[:'name_id_format_type_hint'] if !opts[:'name_id_format_type_hint'].nil?
1263
+ query_params[:'digestMethod'] = opts[:'digest_method'] if !opts[:'digest_method'].nil?
1264
+ query_params[:'digestMethod@TypeHint'] = opts[:'digest_method_type_hint'] if !opts[:'digest_method_type_hint'].nil?
1265
+ query_params[:'signatureMethod'] = opts[:'signature_method'] if !opts[:'signature_method'].nil?
1266
+ query_params[:'signatureMethod@TypeHint'] = opts[:'signature_method_type_hint'] if !opts[:'signature_method_type_hint'].nil?
1267
+ query_params[:'userIntermediatePath'] = opts[:'user_intermediate_path'] if !opts[:'user_intermediate_path'].nil?
1268
+ query_params[:'userIntermediatePath@TypeHint'] = opts[:'user_intermediate_path_type_hint'] if !opts[:'user_intermediate_path_type_hint'].nil?
1269
+
1270
+ # header parameters
1271
+ header_params = {}
1272
+ # HTTP header 'Accept' (if needed)
1273
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1274
+
1275
+ # form parameters
1276
+ form_params = {}
1277
+
1278
+ # http body (model)
1279
+ post_body = nil
1280
+ auth_names = ['aemAuth']
1281
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1282
+ :header_params => header_params,
1283
+ :query_params => query_params,
1284
+ :form_params => form_params,
1285
+ :body => post_body,
1286
+ :auth_names => auth_names)
1287
+ if @api_client.config.debugging
1288
+ @api_client.config.logger.debug "API called: SlingApi#post_config_adobe_granite_saml_authentication_handler\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1289
+ end
1290
+ return data, status_code, headers
1291
+ end
1292
+
1293
+ #
1294
+ #
797
1295
  # @param [Hash] opts the optional parameters
798
1296
  # @option opts [BOOLEAN] :org_apache_felix_https_nio
799
1297
  # @option opts [String] :org_apache_felix_https_nio_type_hint
@@ -816,14 +1314,13 @@ module SwaggerAemClient
816
1314
  # @option opts [String] :org_osgi_service_http_port_secure
817
1315
  # @option opts [String] :org_osgi_service_http_port_secure_type_hint
818
1316
  # @return [nil]
819
- def post_config_apache_felix_jetty_based_http_service(runmode, opts = {})
820
- post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts)
1317
+ def post_config_apache_felix_jetty_based_http_service(opts = {})
1318
+ post_config_apache_felix_jetty_based_http_service_with_http_info(opts)
821
1319
  return nil
822
1320
  end
823
1321
 
824
1322
  #
825
1323
  #
826
- # @param runmode
827
1324
  # @param [Hash] opts the optional parameters
828
1325
  # @option opts [BOOLEAN] :org_apache_felix_https_nio
829
1326
  # @option opts [String] :org_apache_felix_https_nio_type_hint
@@ -846,16 +1343,12 @@ module SwaggerAemClient
846
1343
  # @option opts [String] :org_osgi_service_http_port_secure
847
1344
  # @option opts [String] :org_osgi_service_http_port_secure_type_hint
848
1345
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
849
- def post_config_apache_felix_jetty_based_http_service_with_http_info(runmode, opts = {})
1346
+ def post_config_apache_felix_jetty_based_http_service_with_http_info(opts = {})
850
1347
  if @api_client.config.debugging
851
1348
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_felix_jetty_based_http_service ..."
852
1349
  end
853
- # verify the required parameter 'runmode' is set
854
- if @api_client.config.client_side_validation && runmode.nil?
855
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_felix_jetty_based_http_service"
856
- end
857
1350
  # resource path
858
- local_var_path = "/apps/system/config/org.apache.felix.http".sub('{' + 'runmode' + '}', runmode.to_s)
1351
+ local_var_path = "/apps/system/config/org.apache.felix.http"
859
1352
 
860
1353
  # query parameters
861
1354
  query_params = {}
@@ -905,37 +1398,31 @@ module SwaggerAemClient
905
1398
 
906
1399
  #
907
1400
  #
908
- # @param runmode
909
1401
  # @param [Hash] opts the optional parameters
910
1402
  # @option opts [String] :_alias
911
1403
  # @option opts [String] :alias_type_hint
912
1404
  # @option opts [BOOLEAN] :dav_create_absolute_uri
913
1405
  # @option opts [String] :dav_create_absolute_uri_type_hint
914
1406
  # @return [nil]
915
- def post_config_apache_sling_dav_ex_servlet(runmode, opts = {})
916
- post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts)
1407
+ def post_config_apache_sling_dav_ex_servlet(opts = {})
1408
+ post_config_apache_sling_dav_ex_servlet_with_http_info(opts)
917
1409
  return nil
918
1410
  end
919
1411
 
920
1412
  #
921
1413
  #
922
- # @param runmode
923
1414
  # @param [Hash] opts the optional parameters
924
1415
  # @option opts [String] :_alias
925
1416
  # @option opts [String] :alias_type_hint
926
1417
  # @option opts [BOOLEAN] :dav_create_absolute_uri
927
1418
  # @option opts [String] :dav_create_absolute_uri_type_hint
928
1419
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
929
- def post_config_apache_sling_dav_ex_servlet_with_http_info(runmode, opts = {})
1420
+ def post_config_apache_sling_dav_ex_servlet_with_http_info(opts = {})
930
1421
  if @api_client.config.debugging
931
1422
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_dav_ex_servlet ..."
932
1423
  end
933
- # verify the required parameter 'runmode' is set
934
- if @api_client.config.client_side_validation && runmode.nil?
935
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_dav_ex_servlet"
936
- end
937
1424
  # resource path
938
- local_var_path = "/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet".sub('{' + 'runmode' + '}', runmode.to_s)
1425
+ local_var_path = "/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet"
939
1426
 
940
1427
  # query parameters
941
1428
  query_params = {}
@@ -969,7 +1456,6 @@ module SwaggerAemClient
969
1456
 
970
1457
  #
971
1458
  #
972
- # @param runmode
973
1459
  # @param [Hash] opts the optional parameters
974
1460
  # @option opts [String] :json_maximumresults
975
1461
  # @option opts [String] :json_maximumresults_type_hint
@@ -980,14 +1466,13 @@ module SwaggerAemClient
980
1466
  # @option opts [BOOLEAN] :enable_xml
981
1467
  # @option opts [String] :enable_xml_type_hint
982
1468
  # @return [nil]
983
- def post_config_apache_sling_get_servlet(runmode, opts = {})
984
- post_config_apache_sling_get_servlet_with_http_info(runmode, opts)
1469
+ def post_config_apache_sling_get_servlet(opts = {})
1470
+ post_config_apache_sling_get_servlet_with_http_info(opts)
985
1471
  return nil
986
1472
  end
987
1473
 
988
1474
  #
989
1475
  #
990
- # @param runmode
991
1476
  # @param [Hash] opts the optional parameters
992
1477
  # @option opts [String] :json_maximumresults
993
1478
  # @option opts [String] :json_maximumresults_type_hint
@@ -998,16 +1483,12 @@ module SwaggerAemClient
998
1483
  # @option opts [BOOLEAN] :enable_xml
999
1484
  # @option opts [String] :enable_xml_type_hint
1000
1485
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1001
- def post_config_apache_sling_get_servlet_with_http_info(runmode, opts = {})
1486
+ def post_config_apache_sling_get_servlet_with_http_info(opts = {})
1002
1487
  if @api_client.config.debugging
1003
1488
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_get_servlet ..."
1004
1489
  end
1005
- # verify the required parameter 'runmode' is set
1006
- if @api_client.config.client_side_validation && runmode.nil?
1007
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_get_servlet"
1008
- end
1009
1490
  # resource path
1010
- local_var_path = "/apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet".sub('{' + 'runmode' + '}', runmode.to_s)
1491
+ local_var_path = "/apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet"
1011
1492
 
1012
1493
  # query parameters
1013
1494
  query_params = {}
@@ -1045,7 +1526,6 @@ module SwaggerAemClient
1045
1526
 
1046
1527
  #
1047
1528
  #
1048
- # @param runmode
1049
1529
  # @param [Hash] opts the optional parameters
1050
1530
  # @option opts [BOOLEAN] :allow_empty
1051
1531
  # @option opts [String] :allow_empty_type_hint
@@ -1053,15 +1533,16 @@ module SwaggerAemClient
1053
1533
  # @option opts [String] :allow_hosts_type_hint
1054
1534
  # @option opts [String] :allow_hosts_regexp
1055
1535
  # @option opts [String] :allow_hosts_regexp_type_hint
1536
+ # @option opts [String] :filter_methods
1537
+ # @option opts [String] :filter_methods_type_hint
1056
1538
  # @return [nil]
1057
- def post_config_apache_sling_referrer_filter(runmode, opts = {})
1058
- post_config_apache_sling_referrer_filter_with_http_info(runmode, opts)
1539
+ def post_config_apache_sling_referrer_filter(opts = {})
1540
+ post_config_apache_sling_referrer_filter_with_http_info(opts)
1059
1541
  return nil
1060
1542
  end
1061
1543
 
1062
1544
  #
1063
1545
  #
1064
- # @param runmode
1065
1546
  # @param [Hash] opts the optional parameters
1066
1547
  # @option opts [BOOLEAN] :allow_empty
1067
1548
  # @option opts [String] :allow_empty_type_hint
@@ -1069,17 +1550,15 @@ module SwaggerAemClient
1069
1550
  # @option opts [String] :allow_hosts_type_hint
1070
1551
  # @option opts [String] :allow_hosts_regexp
1071
1552
  # @option opts [String] :allow_hosts_regexp_type_hint
1553
+ # @option opts [String] :filter_methods
1554
+ # @option opts [String] :filter_methods_type_hint
1072
1555
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1073
- def post_config_apache_sling_referrer_filter_with_http_info(runmode, opts = {})
1556
+ def post_config_apache_sling_referrer_filter_with_http_info(opts = {})
1074
1557
  if @api_client.config.debugging
1075
1558
  @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_referrer_filter ..."
1076
1559
  end
1077
- # verify the required parameter 'runmode' is set
1078
- if @api_client.config.client_side_validation && runmode.nil?
1079
- fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config_apache_sling_referrer_filter"
1080
- end
1081
1560
  # resource path
1082
- local_var_path = "/apps/system/config/org.apache.sling.security.impl.ReferrerFilter".sub('{' + 'runmode' + '}', runmode.to_s)
1561
+ local_var_path = "/apps/system/config/org.apache.sling.security.impl.ReferrerFilter"
1083
1562
 
1084
1563
  # query parameters
1085
1564
  query_params = {}
@@ -1089,6 +1568,8 @@ module SwaggerAemClient
1089
1568
  query_params[:'allow.hosts@TypeHint'] = opts[:'allow_hosts_type_hint'] if !opts[:'allow_hosts_type_hint'].nil?
1090
1569
  query_params[:'allow.hosts.regexp'] = opts[:'allow_hosts_regexp'] if !opts[:'allow_hosts_regexp'].nil?
1091
1570
  query_params[:'allow.hosts.regexp@TypeHint'] = opts[:'allow_hosts_regexp_type_hint'] if !opts[:'allow_hosts_regexp_type_hint'].nil?
1571
+ query_params[:'filter.methods'] = opts[:'filter_methods'] if !opts[:'filter_methods'].nil?
1572
+ query_params[:'filter.methods@TypeHint'] = opts[:'filter_methods_type_hint'] if !opts[:'filter_methods_type_hint'].nil?
1092
1573
 
1093
1574
  # header parameters
1094
1575
  header_params = {}
@@ -1450,5 +1931,124 @@ module SwaggerAemClient
1450
1931
  end
1451
1932
  return data, status_code, headers
1452
1933
  end
1934
+
1935
+ #
1936
+ #
1937
+ # @param [Hash] opts the optional parameters
1938
+ # @option opts [String] :operation
1939
+ # @option opts [String] :new_password
1940
+ # @option opts [String] :re_password
1941
+ # @option opts [String] :key_store_type
1942
+ # @option opts [String] :remove_alias
1943
+ # @option opts [File] :certificate
1944
+ # @return [String]
1945
+ def post_truststore(opts = {})
1946
+ data, _status_code, _headers = post_truststore_with_http_info(opts)
1947
+ return data
1948
+ end
1949
+
1950
+ #
1951
+ #
1952
+ # @param [Hash] opts the optional parameters
1953
+ # @option opts [String] :operation
1954
+ # @option opts [String] :new_password
1955
+ # @option opts [String] :re_password
1956
+ # @option opts [String] :key_store_type
1957
+ # @option opts [String] :remove_alias
1958
+ # @option opts [File] :certificate
1959
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1960
+ def post_truststore_with_http_info(opts = {})
1961
+ if @api_client.config.debugging
1962
+ @api_client.config.logger.debug "Calling API: SlingApi.post_truststore ..."
1963
+ end
1964
+ # resource path
1965
+ local_var_path = "/libs/granite/security/post/truststore"
1966
+
1967
+ # query parameters
1968
+ query_params = {}
1969
+ query_params[:':operation'] = opts[:'operation'] if !opts[:'operation'].nil?
1970
+ query_params[:'newPassword'] = opts[:'new_password'] if !opts[:'new_password'].nil?
1971
+ query_params[:'rePassword'] = opts[:'re_password'] if !opts[:'re_password'].nil?
1972
+ query_params[:'keyStoreType'] = opts[:'key_store_type'] if !opts[:'key_store_type'].nil?
1973
+ query_params[:'removeAlias'] = opts[:'remove_alias'] if !opts[:'remove_alias'].nil?
1974
+
1975
+ # header parameters
1976
+ header_params = {}
1977
+ # HTTP header 'Accept' (if needed)
1978
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1979
+ # HTTP header 'Content-Type'
1980
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1981
+
1982
+ # form parameters
1983
+ form_params = {}
1984
+ form_params["certificate"] = opts[:'certificate'] if !opts[:'certificate'].nil?
1985
+
1986
+ # http body (model)
1987
+ post_body = nil
1988
+ auth_names = ['aemAuth']
1989
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1990
+ :header_params => header_params,
1991
+ :query_params => query_params,
1992
+ :form_params => form_params,
1993
+ :body => post_body,
1994
+ :auth_names => auth_names,
1995
+ :return_type => 'String')
1996
+ if @api_client.config.debugging
1997
+ @api_client.config.logger.debug "API called: SlingApi#post_truststore\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1998
+ end
1999
+ return data, status_code, headers
2000
+ end
2001
+
2002
+ #
2003
+ #
2004
+ # @param [Hash] opts the optional parameters
2005
+ # @option opts [File] :truststore_p12
2006
+ # @return [String]
2007
+ def post_truststore_pkcs12(opts = {})
2008
+ data, _status_code, _headers = post_truststore_pkcs12_with_http_info(opts)
2009
+ return data
2010
+ end
2011
+
2012
+ #
2013
+ #
2014
+ # @param [Hash] opts the optional parameters
2015
+ # @option opts [File] :truststore_p12
2016
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2017
+ def post_truststore_pkcs12_with_http_info(opts = {})
2018
+ if @api_client.config.debugging
2019
+ @api_client.config.logger.debug "Calling API: SlingApi.post_truststore_pkcs12 ..."
2020
+ end
2021
+ # resource path
2022
+ local_var_path = "/etc/truststore"
2023
+
2024
+ # query parameters
2025
+ query_params = {}
2026
+
2027
+ # header parameters
2028
+ header_params = {}
2029
+ # HTTP header 'Accept' (if needed)
2030
+ header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
2031
+ # HTTP header 'Content-Type'
2032
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
2033
+
2034
+ # form parameters
2035
+ form_params = {}
2036
+ form_params["truststore.p12"] = opts[:'truststore_p12'] if !opts[:'truststore_p12'].nil?
2037
+
2038
+ # http body (model)
2039
+ post_body = nil
2040
+ auth_names = ['aemAuth']
2041
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2042
+ :header_params => header_params,
2043
+ :query_params => query_params,
2044
+ :form_params => form_params,
2045
+ :body => post_body,
2046
+ :auth_names => auth_names,
2047
+ :return_type => 'String')
2048
+ if @api_client.config.debugging
2049
+ @api_client.config.logger.debug "API called: SlingApi#post_truststore_pkcs12\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2050
+ end
2051
+ return data, status_code, headers
2052
+ end
1453
2053
  end
1454
2054
  end