Class: Findbug::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/findbug/application_controller.rb

Overview

ApplicationController is the base controller for all Findbug dashboard controllers.

AUTHENTICATION

We use HTTP Basic Auth for simplicity (same as Sidekiq).

Why Basic Auth?

  • Simple to set up (just username/password in config)

  • Works with any deployment (no OAuth setup needed)

  • Stateless (no session management)

  • Secure enough for internal tools (over HTTPS)

If you need more sophisticated auth (SSO, OAuth, role-based):

  • Override ‘authenticate!` in your app

  • Or use a Rack middleware before the engine