ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
putAuthAttributes () | |
Put MS-CHAPv2 specific attributes. | |
close () | |
Frees resources. |
Data Fields | |
$challenge = null | |
$peerChallenge = null | |
Data Fields inherited from Auth_RADIUS_MSCHAPv1 | |
$lmResponse = null | |
$flags = 1 | |
Data Fields inherited from Auth_RADIUS_CHAP_MD5 | |
$challenge = null | |
$response = null | |
$chapid = 1 |
Definition at line 779 of file RADIUS.php.
Auth_RADIUS_MSCHAPv2::close | ( | ) |
Frees resources.
Calling this method is always a good idea, because all security relevant attributes are filled with Nullbytes to leave nothing in the mem.
public
Reimplemented from Auth_RADIUS_CHAP_MD5.
Definition at line 831 of file RADIUS.php.
Auth_RADIUS_MSCHAPv2::putAuthAttributes | ( | ) |
Put MS-CHAPv2 specific attributes.
For authenticating using MS-CHAPv1 via RADIUS you have to put the challenge and the response. The response has this structure: struct rad_mschapv2value { u_char ident; u_char flags; u_char pchallenge[16]; u_char reserved[8]; u_char response[24]; }; where pchallenge is the peer challenge. Like for MS-CHAPv1 we set the flags field to 1.
Reimplemented from Auth_RADIUS_MSCHAPv1.
Definition at line 808 of file RADIUS.php.
References Auth_RADIUS\putAttribute(), and Auth_RADIUS\putVendorAttribute().
Auth_RADIUS_MSCHAPv2::$challenge = null |
Definition at line 785 of file RADIUS.php.
Auth_RADIUS_MSCHAPv2::$peerChallenge = null |
Definition at line 791 of file RADIUS.php.