| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
 Inheritance diagram for Auth_RADIUS_CHAP_MD5:
 Inheritance diagram for Auth_RADIUS_CHAP_MD5: Collaboration diagram for Auth_RADIUS_CHAP_MD5:
 Collaboration diagram for Auth_RADIUS_CHAP_MD5:| Public Member Functions | |
| Auth_RADIUS_CHAP_MD5 ($username=null, $challenge=null, $chapid=1) | |
| Constructor. | |
| putAuthAttributes () | |
| Put CHAP-MD5 specific attributes. | |
| close () | |
| Frees resources. | |
|  Public Member Functions inherited from Auth_RADIUS_PAP | |
| Auth_RADIUS_PAP ($username=null, $password=null) | |
| Constructor. | |
| open () | |
| Creates a RADIUS resource. | |
| createRequest () | |
| Creates an authentication request. | |
|  Public Member Functions inherited from Auth_RADIUS | |
| Auth_RADIUS () | |
| Constructor. | |
| addServer ($servername= 'localhost', $port=0, $sharedSecret= 'testing123', $timeout=3, $maxtries=3) | |
| Adds a RADIUS server to the list of servers for requests. | |
| getError () | |
| Returns an error message, if an error occurred. | |
| setConfigfile ($file) | |
| Sets the configuration-file. | |
| putAttribute ($attrib, $value, $type=null) | |
| Puts an attribute. | |
| putVendorAttribute ($vendor, $attrib, $value, $type=null) | |
| Puts a vendor-specific attribute. | |
| dumpAttributes () | |
| Prints known attributes received from the server. | |
| putStandardAttributes () | |
| Puts standard attributes. | |
| putServer ($servername, $port=0, $sharedsecret= 'testing123', $timeout=3, $maxtries=3) | |
| Configures the radius library. | |
| putConfigfile ($file) | |
| Configures the radius library via external configurationfile. | |
| start () | |
| Initiates a RADIUS request. | |
| send () | |
| Sends a prepared RADIUS request and waits for a response. | |
| getAttributes () | |
| Reads all received attributes after sending the request. | |
|  Public Member Functions inherited from PEAR | |
| PEAR ($error_class=null) | |
| Constructor. | |
| _PEAR () | |
| Destructor (the emulated type of...). | |
| & | getStaticProperty ($class, $var) | 
| If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. | |
| registerShutdownFunc ($func, $args=array()) | |
| Use this function to register a shutdown method for static classes. | |
| isError ($data, $code=null) | |
| Tell whether a value is a PEAR error. | |
| setErrorHandling ($mode=null, $options=null) | |
| Sets how errors generated by this object should be handled. | |
| expectError ($code= '*') | |
| This method is used to tell which errors you expect to get. | |
| popExpect () | |
| This method pops one element off the expected error codes stack. | |
| _checkDelExpect ($error_code) | |
| This method checks unsets an error code if available. | |
| delExpect ($error_code) | |
| This method deletes all occurences of the specified element from the expected error codes stack. | |
| & | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) | 
| This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. | |
| & | throwError ($message=null, $code=null, $userinfo=null) | 
| Simpler form of raiseError with fewer options. | |
| staticPushErrorHandling ($mode, $options=null) | |
| staticPopErrorHandling () | |
| pushErrorHandling ($mode, $options=null) | |
| Push a new error handler on top of the error handler options stack. | |
| popErrorHandling () | |
| Pop the last error handler used. | |
| loadExtension ($ext) | |
| OS independant PHP extension load. | |
| Data Fields | |
| $challenge = null | |
| $response = null | |
| $chapid = 1 | |
Definition at line 644 of file RADIUS.php.
| Auth_RADIUS_CHAP_MD5::Auth_RADIUS_CHAP_MD5 | ( | $username = null, | |
| $challenge = null, | |||
| $chapid = 1 | |||
| ) | 
Constructor.
| string | $username | Username | 
| string | $challenge | 8 Bytes Challenge (binary) | 
| integer | $chapid | Requestnumber | 
Definition at line 672 of file RADIUS.php.
References $challenge, $chapid, Auth_RADIUS\$username, and Auth_RADIUS_PAP\Auth_RADIUS_PAP().
 Here is the call graph for this function:
 Here is the call graph for this function:| Auth_RADIUS_CHAP_MD5::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.
Reimplemented in Auth_RADIUS_MSCHAPv2.
Definition at line 710 of file RADIUS.php.
| Auth_RADIUS_CHAP_MD5::putAuthAttributes | ( | ) | 
Put CHAP-MD5 specific attributes.
For authenticating using CHAP-MD5 via RADIUS you have to put the challenge and the response. The chapid is inserted in the first byte of the response.
Reimplemented from Auth_RADIUS_PAP.
Reimplemented in Auth_RADIUS_MSCHAPv2, and Auth_RADIUS_MSCHAPv1.
Definition at line 688 of file RADIUS.php.
References $response, and Auth_RADIUS\putAttribute().
 Here is the call graph for this function:
 Here is the call graph for this function:| Auth_RADIUS_CHAP_MD5::$challenge = null | 
Definition at line 650 of file RADIUS.php.
Referenced by Auth_RADIUS_CHAP_MD5().
| Auth_RADIUS_CHAP_MD5::$chapid = 1 | 
Definition at line 662 of file RADIUS.php.
Referenced by Auth_RADIUS_CHAP_MD5().
| Auth_RADIUS_CHAP_MD5::$response = null | 
Definition at line 656 of file RADIUS.php.
Referenced by putAuthAttributes().