class RubyAem::Resources::AuthorizableKeystore
AEM class contains API calls related to managing the AEM Authorizable Keystore.
Public Class Methods
Initialise an Authorizable Keystore
@param client RubyAem::Client
@param intermediate_path AEM User
home path @param authorizable_id AEM User
id @return new RubyAem::Resources::AuhtorizableKeystore instance
# File lib/ruby_aem/resources/authorizable_keystore.rb, line 30 def initialize(client, intermediate_path, authorizable_id) @client = client @call_params = { intermediate_path: intermediate_path, authorizable_id: authorizable_id } @call_params[:intermediate_path] = RubyAem::Swagger.path(@call_params[:intermediate_path]) end
Public Instance Methods
@return RubyAem::Result
# File lib/ruby_aem/resources/authorizable_keystore.rb, line 55 def change_password(old_password, new_password) @call_params[:old_password] = old_password @call_params[:new_password] = new_password @client.call(self.class, __callee__.to_s, @call_params) end
Create AEM Authorizable Keystore.
@param password Password for the keystore @return RubyAem::Result
# File lib/ruby_aem/resources/authorizable_keystore.rb, line 44 def create(password) @call_params[:password] = password @client.call(self.class, __callee__.to_s, @call_params) end
Delete AEM Authorizable Keystore
@return RubyAem::Result
# File lib/ruby_aem/resources/authorizable_keystore.rb, line 75 def delete @client.call(self.class, __callee__.to_s, @call_params) end
Download the AEM Keystore to a specified directory.
@param file_path the directory where the Keystore will be downloaded to @return RubyAem::Result
# File lib/ruby_aem/resources/authorizable_keystore.rb, line 65 def download( file_path ) @call_params[:file_path] = file_path @client.call(self.class, __callee__.to_s, @call_params) end
Check if a keystore for the given authorizable id already exists.
@return RubyAem::Result
# File lib/ruby_aem/resources/authorizable_keystore.rb, line 82 def exists @client.call(self.class, __callee__.to_s, @call_params) end
Retrieve AEM Authorizable Keystore info.
@return RubyAem::Result
# File lib/ruby_aem/resources/authorizable_keystore.rb, line 89 def info @client.call(self.class, __callee__.to_s, @call_params) end