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.



32
33
34
# File 'lib/ruby_smb/gss/provider.rb', line 32

def allow_anonymous
  @allow_anonymous
end

#allow_guestsObject

Whether or not unknown users should be allowed to authenticate as guests.



37
38
39
# File 'lib/ruby_smb/gss/provider.rb', line 37

def allow_guests
  @allow_guests
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)


25
26
27
# File 'lib/ruby_smb/gss/provider.rb', line 25

def new_authenticator(server_client)
  raise NotImplementedError
end