class RubyAem::Resources::Saml
AEM class contains API calls related to managing SAML.
Public Class Methods
new(client)
click to toggle source
Initialise Saml
.
@param client RubyAem::Client
@return new RubyAem::Resources::Saml
instance
# File lib/ruby_aem/resources/saml.rb, line 25 def initialize(client) @client = client @call_params = {} end
Public Instance Methods
create(opts)
click to toggle source
Create SAML configuration
@param opts optional parameters, parameter names can be retrieved from
AEM OSGI config page for `com.adobe.granite.auth.saml.SamlAuthenticationHandler.config` Alternatively, they can also be retrieved from Swagger AEM specification at https://github.com/shinesolutions/swagger-aem/blob/master/conf/api.yml on operation ID `postConfigAdobeGraniteSamlAuthenticationHandler` Some parameters explanation can be found on https://helpx.adobe.com/experience-manager/6-3/sites/administering/using/saml-2-0-authenticationhandler.html
@return RubyAem::Result
# File lib/ruby_aem/resources/saml.rb, line 39 def create(opts) @call_params = @call_params.merge(opts) @client.call(self.class, __callee__.to_s, @call_params) end
delete()
click to toggle source
Delete SAML configuration
@return RubyAem::Result
# File lib/ruby_aem/resources/saml.rb, line 47 def delete @call_params[:apply] = true @call_params[:delete] = true @client.call(self.class, __callee__.to_s, @call_params) end
get()
click to toggle source
Get SAML configuration
@return RubyAem::Result
# File lib/ruby_aem/resources/saml.rb, line 57 def get @client.call(self.class, __callee__.to_s, @call_params) end