Class: Y2Network::Widgets::EapTtls

Inherits:
CWM::CustomWidget
  • Object
show all
Defined in:
src/lib/y2network/widgets/wireless_eap.rb

Overview

High level widget that represent TTLS authentication

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ EapTtls

Returns a new instance of EapTtls.



116
117
118
119
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 116

def initialize(settings)
  super()
  @settings = settings
end

Instance Attribute Details

#settingsObject (readonly)

Returns the value of attribute settings.



114
115
116
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 114

def settings
  @settings
end

Instance Method Details

#contentsObject



121
122
123
124
125
126
127
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 121

def contents
  VBox(
    HBox(EapUser.new(@settings), HSpacing(1), EapPassword.new(@settings)),
    EapAnonymousUser.new(@settings),
    ServerCAPath.new(@settings)
  )
end