Class: RubySMB::Gss::Provider::Base
- Inherits:
-
Object
- Object
- RubySMB::Gss::Provider::Base
- 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
Instance Attribute Summary collapse
-
#allow_anonymous ⇒ Object
Whether or not anonymous authentication attempts should be permitted.
-
#allow_guests ⇒ Object
Whether or not unknown users should be allowed to authenticate as guests.
Instance Method Summary collapse
-
#new_authenticator(server_client) ⇒ Object
Create a new, client-specific authenticator instance.
Instance Attribute Details
#allow_anonymous ⇒ Object
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_guests ⇒ Object
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.
25 26 27 |
# File 'lib/ruby_smb/gss/provider.rb', line 25 def new_authenticator(server_client) raise NotImplementedError end |