Class: PaloAlto::XML::Config::MgtConfig::Users::Entry

Inherits:
ArrayConfigClass show all
Defined in:
lib/palo_alto/config.rb

Defined Under Namespace

Classes: Permissions, Preferences

Constant Summary

Constants included from DSL

DSL::AXES, DSL::LOWERCASE_LETTERS, DSL::METHODS, DSL::OPERATORS, DSL::UPPERCASE_LETTERS

Instance Attribute Summary

Attributes inherited from ArrayConfigClass

#selector

Attributes inherited from PaloAlto::XML::ConfigClass

#api_attributes, #parent_instance, #subclasses

Attributes inherited from Expression

#arguments, #expression

Instance Method Summary collapse

Methods inherited from ArrayConfigClass

#move!, #rename!, #set_xpath_from_selector!

Methods inherited from PaloAlto::XML::ConfigClass

#array_class_setter, #clear!, #complete, #create!, #delete!, #delete_child, #edit!, #enforce_type, #enforce_types, #external_set, #get, #get_all, #get_class_from_child_str, #get_primary_key, #initialize, #inspect, #maybe_register_subclass, #multimove!, #prop_get, #prop_set, #selector_subclasses, #set!, #set_array_class_attributes, #set_values, #to_xml, #values, #xml_builder

Methods inherited from Expression

#current, #initialize, #to_xpath

Methods included from DSL

#anywhere, #axis, #binary_operator, #child, #contains_word, #css, #current, #descendant, #ends_with, #function, #is, #last, #lowercase, #method, #next_sibling, #one_of, #parenthesis, #position, #previous_sibling, #qname, #relative, #root, #text, #union, #uppercase, #where, #xpath_attr

Constructor Details

This class inherits a constructor from PaloAlto::XML::ConfigClass

Instance Method Details

#_sectionObject



42237
42238
42239
# File 'lib/palo_alto/config.rb', line 42237

def _section
:entry
end

#authentication_profileObject



42943
42944
42945
# File 'lib/palo_alto/config.rb', line 42943

def authentication_profile
prop_get('authentication-profile')
end

#authentication_profile=(val) ⇒ Object



42946
42947
42948
# File 'lib/palo_alto/config.rb', line 42946

def authentication_profile=(val)
prop_set('authentication-profile', val)
end

#client_certificate_onlyObject

Is client certificate authentication enough?



42956
42957
42958
# File 'lib/palo_alto/config.rb', line 42956

def client_certificate_only
prop_get('client-certificate-only')
end

#client_certificate_only=(val) ⇒ Object

Is client certificate authentication enough?



42960
42961
42962
# File 'lib/palo_alto/config.rb', line 42960

def client_certificate_only=(val)
prop_set('client-certificate-only', val)
end

#has_multiple_values?Boolean

Returns:

  • (Boolean)


42236
# File 'lib/palo_alto/config.rb', line 42236

def has_multiple_values?; false; end

#nameObject

user name (alphanumeric)



42934
42935
42936
# File 'lib/palo_alto/config.rb', line 42934

def name
prop_get('@name')
end

#password_profileObject



42949
42950
42951
# File 'lib/palo_alto/config.rb', line 42949

def password_profile
prop_get('password-profile')
end

#password_profile=(val) ⇒ Object



42952
42953
42954
# File 'lib/palo_alto/config.rb', line 42952

def password_profile=(val)
prop_set('password-profile', val)
end

#permissionsObject



42929
42930
42931
# File 'lib/palo_alto/config.rb', line 42929

def permissions
maybe_register_subclass('permissions', Permissions.new(parent_instance: self, client: @client, create_children: @create_children))
end

#phashObject



42937
42938
42939
# File 'lib/palo_alto/config.rb', line 42937

def phash
prop_get('phash')
end

#phash=(val) ⇒ Object



42940
42941
42942
# File 'lib/palo_alto/config.rb', line 42940

def phash=(val)
prop_set('phash', val)
end

#preferencesObject



42839
42840
42841
# File 'lib/palo_alto/config.rb', line 42839

def preferences
@subclasses['preferences'] ||= Preferences.new(parent_instance: self, client: @client, create_children: @create_children)
end

#public_keyObject

Public RSA/DSA



42964
42965
42966
# File 'lib/palo_alto/config.rb', line 42964

def public_key
prop_get('public-key')
end

#public_key=(val) ⇒ Object

Public RSA/DSA



42968
42969
42970
# File 'lib/palo_alto/config.rb', line 42968

def public_key=(val)
prop_set('public-key', val)
end