Class: CmisServer::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- CmisServer::ApplicationController
show all
- Defined in:
- app/controllers/cmis_server/application_controller.rb
Instance Method Summary
collapse
Instance Method Details
#check_auth ⇒ Object
12
13
14
15
16
17
|
# File 'app/controllers/cmis_server/application_controller.rb', line 12
def check_auth
context[:current_user] = authenticate_or_request_with_http_basic &CmisServer.configuration.http_basic_auth_procedure
end
|
#context ⇒ Object
8
9
10
|
# File 'app/controllers/cmis_server/application_controller.rb', line 8
def context
@context ||= Hash.new
end
|