Module: Foreman::Controller::SmartProxyAuth::ClassMethods

Defined in:
lib/foreman/controller/smart_proxy_auth.rb

Instance Method Summary collapse

Instance Method Details

#add_puppetmaster_filters(actions) ⇒ Object


8
9
10
11
12
13
14
15
16
# File 'lib/foreman/controller/smart_proxy_auth.rb', line 8

def add_puppetmaster_filters(actions)
  skip_before_filter :require_login, :only => actions
  skip_before_filter :require_ssl, :only => actions
  skip_before_filter :authorize, :only => actions
  skip_before_filter :verify_authenticity_token, :only => actions
  skip_before_filter :set_taxonomy, :only => actions
  skip_before_filter :session_expiry, :update_activity_time, :only => actions
  before_filter :require_puppetmaster_or_login, :only => actions
end