Class: Y2Network::Widgets::EapPeap

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

Overview

High level widget that represent PEAP authentication

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ EapPeap


95
96
97
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 95

def initialize(settings)
  @settings = settings
end

Instance Attribute Details

#settingsObject (readonly)

Returns the value of attribute settings


93
94
95
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 93

def settings
  @settings
end

Instance Method Details

#contentsObject


99
100
101
102
103
104
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 99

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