Class: Avmtrf1::Tools::Runner::CheckPoint::Login

Inherits:
Object
  • Object
show all
Defined in:
lib/avmtrf1/tools/runner/check_point/login.rb

Instance Method Summary collapse

Instance Method Details

#runObject


15
16
17
18
19
20
21
22
23
24
# File 'lib/avmtrf1/tools/runner/check_point/login.rb', line 15

def run
  infov 'Username', session.username
  logged = session.logged?
  infov 'Logged', logged
  return if logged

  infom 'Trying login...'
  session.
  infov 'Logged after login?', session.logged?
end

#session_uncachedObject


26
27
28
# File 'lib/avmtrf1/tools/runner/check_point/login.rb', line 26

def session_uncached
  ::Avmtrf1::CheckPoint::Session.by_default_ad_user
end