Class: BasicAndNego::Auth::Negotiate
- Defined in:
- lib/basic_and_nego/auth/negotiate.rb
Instance Attribute Summary
Attributes inherited from Base
#client_name, #headers, #response
Instance Method Summary collapse
-
#initialize(request, logger, realm, keytab, service) ⇒ Negotiate
constructor
A new instance of Negotiate.
- #process ⇒ Object
Methods included from Responses
#bad_request, #challenge, #error, #unauthorized
Constructor Details
#initialize(request, logger, realm, keytab, service) ⇒ Negotiate
Returns a new instance of Negotiate.
9 10 11 12 |
# File 'lib/basic_and_nego/auth/negotiate.rb', line 9 def initialize(request, logger, realm, keytab, service) super setup_gss end |
Instance Method Details
#process ⇒ Object
14 15 16 17 18 19 |
# File 'lib/basic_and_nego/auth/negotiate.rb', line 14 def process @logger.debug "Negotiate scheme proposed by client" authenticate unless @response verify_token unless @response set_headers unless @response end |