IRISLIB database
CRAMMD5 Class Reference

The implementation of the CRAM-MD5 SASL security mechanism to be used with Net.Authenticator, our implementation of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222. More...

Inheritance diagram for CRAMMD5:
Collaboration diagram for CRAMMD5:

Public Member Functions

_.Library.Boolean Next (_.Library.String challenge, _.Library.String response)
 Return next response based on challenge using the PLAIN SASL mechanism. More...
 
_.Library.Boolean Start (_.Library.String response)
 Start authentication based on UserName and Password using the PLAIN SASL 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...
 
- Public Attributes inherited from Base
 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...
 

Private Member Functions

_.Library.String __ConvertToHex (_.Library.String str)
 Return string with each character converted to lower case hex.
 
_.Library.String __makeDigest (_.Library.String challenge, _.Library.String secret)
 Compute keyed-MD5 digest.
 

Private Attributes

 __state
 State of client side of authentication:
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 implementation of the CRAM-MD5 SASL security mechanism to be used with Net.Authenticator, our implementation of the Simple Authentication and Security Layer (SASL) as defined by RFC 2222.

Member Function Documentation

◆ Next()

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

Return next response based on challenge using the PLAIN SASL mechanism.

Return value is false to indicate abort.

Reimplemented from Base.

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.  

◆ __state

__state
private

State of client side of authentication:

1 - return CRAM-MD5 result