8
9
10
11
12
13
14
15
16
17
|
# File 'app/controllers/concerns/foreman_monitoring/find_host_by_client_cert.rb', line 8
def authorize_host_by_client_cert(actions, _options = {})
skip_before_action :require_login, :only => actions, :raise => false
skip_before_action :check_user_enabled, :only => actions, :raise => false
skip_before_action :authorize, :only => actions
skip_before_action :verify_authenticity_token, :only => actions
skip_before_action :set_taxonomy, :only => actions, :raise => false
skip_before_action :session_expiry, :update_activity_time, :only => actions
before_action(:only => actions) { require_client_cert_or_login }
attr_reader :detected_host
end
|