IRISLIB database
All Classes Namespaces Functions Variables Pages
Base Class Reference

The abstract super class of all security mechanisms to be used with Net.Authenticator, our implement of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222. More...

Inheritance diagram for Base:
Collaboration diagram for Base:

Public Member Functions

_.Library.Boolean Next (_.Library.String challenge, _.Library.String response)
 Return next response based on challenge using this SASL mechanism. More...
 
_.Library.Boolean Start (_.Library.String response)
 Start authentication based on UserName and Password using this mechanism.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 MechanismName
 The name of the security mechanism. More...
 
 Password
 The password for the user name being authenticated. More...
 
 UserName
 The user name being authenticated. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

The abstract super class of all security mechanisms to be used with Net.Authenticator, our implement of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222.

Each defined mechanism will add additional properties defining the parameters needed for the mechanism and override the emthods defined here.

Member Function Documentation

◆ Next()

_.Library.Boolean Next ( _.Library.String  challenge,
_.Library.String  response 
)

Return next response based on challenge using this SASL mechanism.

Return value is false to indicate abort.

Reimplemented in XOAUTH2, PLAIN, LOGIN, and CRAMMD5.

Member Data Documentation

◆ MechanismName

MechanismName

The name of the security mechanism.


This name must be one of SASL mechanism names that is registered with IANA.  

◆ Password

Password

The password for the user name being authenticated.

 

◆ UserName

UserName

The user name being authenticated.

No authentication will be attempted unless UserName and Password are supplied.