Class: RubySMB::Gss::Provider::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_smb/gss/provider.rb

Overview

The base class for a GSS authentication provider. This class defines a common interface and is not usable as a provider on its own.

Direct Known Subclasses

NTLM

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#allow_anonymousObject

Whether or not anonymous authentication attempts should be permitted.



28
29
30
# File 'lib/ruby_smb/gss/provider.rb', line 28

def allow_anonymous
  @allow_anonymous
end

Instance Method Details

#new_authenticator(server_client) ⇒ Object

Create a new, client-specific authenticator instance. This new instance is then able to track the unique state of a particular client / connection.

Parameters:

  • server_client (Server::ServerClient)

    the client instance that this the authenticator will be for

Raises:

  • (NotImplementedError)


21
22
23
# File 'lib/ruby_smb/gss/provider.rb', line 21

def new_authenticator(server_client)
  raise NotImplementedError
end