Class: MintPress::OracleAccessManagement::PolicyModel
- Inherits:
-
Object
- Object
- MintPress::OracleAccessManagement::PolicyModel
- Includes:
- MintLogger, Mixins::Properties
- Defined in:
- src/oracle-idm/lib/oracle-idm/oam-deploy.rb
Properties (Read/Write)
-
#host ⇒ MintPress::Infrastructure::Host (Default Value: Proc.new { MintPress::Infrastructure::LocalHost.new })
'The host where the import should run from.'
Property Attributes- default ⇒ Proc.new { MintPress::Infrastructure::LocalHost.new }
29
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 29 property :host, type: MintPress::Infrastructure::Host, default: Proc.new { MintPress::Infrastructure::LocalHost.new }, description: 'The host where the import should run from.'
-
#transport ⇒ LASRpcUtils::Transport (Default Value: Proc.new { self.host.transport })
Host could be either local or remote, whatever the user passes
Property Attributes- default ⇒ Proc.new { self.host.transport }
31
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 31 property :transport, type: LASRpcUtils::Transport, default: Proc.new { self.host.transport }
-
#policy_file ⇒ String
'The full path of the OAM policy file'
Property Attributes- required ⇒ true
33
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 33 property :policy_file, type: String, required: true, description: 'The full path of the OAM policy file'
-
#oam_admin_url ⇒ String
'The OAM Console URL for the domain.'
Property Attributes- required ⇒ true
34
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 34 property :oam_admin_url, type: String, required: true, description: 'The OAM Console URL for the domain.'
-
#oam_admin_user ⇒ String
'The OAM administration user that at least has privileges to manage policy objects'
Property Attributes- required ⇒ true
35
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 35 property :oam_admin_user, type: String, required: true, description: 'The OAM administration user that at least has privileges to manage policy objects'
-
#oam_admin_password ⇒ Mint::Secret
'The OAM administration user password.'
Property Attributes- required ⇒ true
36
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 36 property :oam_admin_password, type: Mint::Secret, required: true, description: 'The OAM administration user password.'
-
#version ⇒ String (Default Value: '11')
'The OAM Version'
Property Attributes- default ⇒ '11'
37
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 37 property :version, type: String, default: '11', description: 'The OAM Version'
-
#app_domain_client ⇒ RestClient::Resource (Default Value: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/appdomain", self.oam_admin_user, self.oam_admin_password.value)})
'The Rest resource for the app domain client'
Property Attributes- default ⇒ Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/appdomain", self.oam_admin_user, self.oam_admin_password.value)}
49
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 49 property :app_domain_client, type: RestClient::Resource, default: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/appdomain", self.oam_admin_user, self.oam_admin_password.value)}, description: 'The Rest resource for the app domain client'
-
#hostidentifier_client ⇒ RestClient::Resource (Default Value: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/hostidentifier", self.oam_admin_user, self.oam_admin_password.value)})
'The Rest resource for the hostidentifier client'
Property Attributes- default ⇒ Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/hostidentifier", self.oam_admin_user, self.oam_admin_password.value)}
50
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 50 property :hostidentifier_client, type: RestClient::Resource, default: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/hostidentifier", self.oam_admin_user, self.oam_admin_password.value)}, description: 'The Rest resource for the hostidentifier client'
-
#authn_policy_client ⇒ RestClient::Resource (Default Value: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authnpolicy", self.oam_admin_user, self.oam_admin_password.value)})
'The Rest resource for the Authentication policy client'
Property Attributes- default ⇒ Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authnpolicy", self.oam_admin_user, self.oam_admin_password.value)}
51
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 51 property :authn_policy_client, type: RestClient::Resource, default: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authnpolicy", self.oam_admin_user, self.oam_admin_password.value)}, description: 'The Rest resource for the Authentication policy client'
-
#authz_policy_client ⇒ RestClient::Resource (Default Value: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authzpolicy", self.oam_admin_user, self.oam_admin_password.value)})
'The Rest resource for the Authorization policy client'
Property Attributes- default ⇒ Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authzpolicy", self.oam_admin_user, self.oam_admin_password.value)}
52
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 52 property :authz_policy_client, type: RestClient::Resource, default: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authzpolicy", self.oam_admin_user, self.oam_admin_password.value)}, description: 'The Rest resource for the Authorization policy client'
-
#auth_scheme_client ⇒ RestClient::Resource (Default Value: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authnscheme", self.oam_admin_user, self.oam_admin_password.value)})
'The Rest resource for the Authentication Scheme client'
Property Attributes- default ⇒ Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authnscheme", self.oam_admin_user, self.oam_admin_password.value)}
53
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 53 property :auth_scheme_client, type: RestClient::Resource, default: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/authnscheme", self.oam_admin_user, self.oam_admin_password.value)}, description: 'The Rest resource for the Authentication Scheme client'
-
#resource_client ⇒ RestClient::Resource (Default Value: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/resource", self.oam_admin_user, self.oam_admin_password.value)})
'The Rest resource for the resource client'
Property Attributes- default ⇒ Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/resource", self.oam_admin_user, self.oam_admin_password.value)}
54
# File 'src/oracle-idm/lib/oracle-idm/oam-deploy.rb', line 54 property :resource_client, type: RestClient::Resource, default: Proc.new {transport.RestClientResource.new("#{self.oam_admin_url}/services/rest/11.1.2.0.0/ssa/policyadmin/resource", self.oam_admin_user, self.oam_admin_password.value)}, description: 'The Rest resource for the resource client'
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary
Attributes included from Mixins::Properties
#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root
Instance Method Summary collapse
- #create_app_domain ⇒ Object
- #create_authn_policy ⇒ Object
- #create_authn_scheme ⇒ Object
- #create_authz_policy ⇒ Object
- #create_host_identifier ⇒ Object
- #create_resource ⇒ Object
- #deploy ⇒ Object
-
#initialize(opts = {}) ⇒ PolicyModel
constructor
A new instance of PolicyModel.
Methods included from Mixins::Properties
#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send