Class: MintPress::Siebel::SecurityProfile

Inherits:
Object
  • Object
show all
Includes:
Mixins::Properties, Utils
Defined in:
src/oracle-siebel/lib/oracle-siebel/security_profile.rb

Properties (Read/Write)

  • #name ⇒ String

    Property Attributes
    • requiredtrue
    
    
    11
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 11
    
    property :name, type: String, required: true
  • #data_sources ⇒ Hash of ⇒ [MintPress::Siebel::DBDatasource, MintPress::Siebel::LdapDatasource]

    Property Attributes
    
    
    12
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 12
    
    property :data_sources, hash: true, type: [MintPress::Siebel::DBDatasource, MintPress::Siebel::LdapDatasource]
  • #mode ⇒ String

    Property Attributes
    • allowed_values['LDAP','DB','DB_Advanced']
    
    
    13
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 13
    
    property :mode, type: String, allowed_values: ['LDAP','DB','DB_Advanced']
  • #test_user_name ⇒ String

    Property Attributes
    
    
    14
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 14
    
    property :test_user_name, type: String
  • #test_user_password ⇒ Mint::Secret

    Property Attributes
    • fromString
    
    
    15
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 15
    
    property :test_user_password, type: Mint::Secret, from: String
  • #ns_admin_role ⇒ Array of ⇒ String (Default Value: ['Siebel Administrator'])

    Property Attributes
    • default['Siebel Administrator']
    
    
    16
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 16
    
    property :ns_admin_role, type: String, array: true, default: ['Siebel Administrator']
  • #db_security_adapter_data_source ⇒ String (Default Value: Proc.new { data_sources.values[0].name })

    Property Attributes
    • defaultProc.new { data_sources.values[0].name }
    
    
    17
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 17
    
    property :db_security_adapter_data_source, type: String, default: Proc.new { data_sources.values[0].name }
  • #db_security_adapter_propagate_change ⇒ [TrueClass, FalseClass] (Default Value: false)

    Property Attributes
    • defaultfalse
    
    
    18
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 18
    
    property :db_security_adapter_propagate_change, type: [TrueClass, FalseClass], default: false
  • #application_interface ⇒ MintPress::Siebel::ApplicationInterface (Default Value: Proc.new { $default_ai })

    Property Attributes
    • requiredtrue
    • defaultProc.new { $default_ai }
    
    
    19
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 19
    
    property :application_interface, type: MintPress::Siebel::ApplicationInterface, required: true, default: Proc.new { $default_ai }
  • #gateway ⇒ MintPress::Siebel::Gateway
    A gateway in case ours is not linked to our installation/application_interface

    Property Attributes
    
    
    22
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 22
    
    property :gateway, type: MintPress::Siebel::Gateway
  • #installation ⇒ MintPress::Siebel::Installation

    Property Attributes
    
    
    23
    # File 'src/oracle-siebel/lib/oracle-siebel/security_profile.rb', line 23
    
    property :installation, type: MintPress::Siebel::Installation

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

Methods included from Utils

#can_hit_ai_locally?, #full_url, #get_ai_oracle_home, #get_oracle_home, #get_servermanager_oracle_home, #http_delete, #http_get, #http_post, #http_put, #request_headers

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

Constructor Details

#initialize(opts = {}) ⇒ SecurityProfile

Returns a new instance of SecurityProfile.

Instance Method Details

#createObject

#exists?Boolean

FIXME: what does this look like? Obviously a different REST API....

Returns:

  • (Boolean)

#form_jsonObject

#getObject

#get_property_from_target(prop) ⇒ Object