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


111
112
113
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 111

def initialize(settings)
  @settings = settings
end

Instance Attribute Details

#settingsObject (readonly)

Returns the value of attribute settings


109
110
111
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 109

def settings
  @settings
end

Instance Method Details

#contentsObject


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

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