Class: auth_sspi
Source Location: /security/class.auth_sspi.inc
Class auth_sspi
Class Overview
|
Driver for authentication and authorization using Microsoft's Security Support Provider Interface (SSPI).
To use this authentication module, add a field to your user table that stores the user's SSPI account. Then add the following lines to your config.inc.php file: // The names of your SSPI trusted domains. $config_auth_sspi_trusted_domains = Array ( "DOMAINNAME" ); // The field in the user table that stores the sspi account name $config_auth_sspi_accountfield = "sspiaccountfield"; Finally, change the following configuration values to enable SSPI. $config_authentication = "sspi"; $config_authorization = "sspi";
Located in /security/class.auth_sspi.inc [line 45]
Wiki documentation
auth_interface
|
--auth_db
|
--auth_sspi
Author(s):
Information Tags:
|
Methods
|
Methods
void buildSelectUserQuery(
$sspiaccount,
$usertable,
$userfield,
$sspiaccountfield, [
$accountdisablefield = null], [
$accountenbleexpression = null]
)
|
|
Parameters:
|
|
$sspiaccount: |
|
|
|
$usertable: |
|
|
|
$userfield: |
|
|
|
$sspiaccountfield: |
|
|
|
$accountdisablefield: |
|
|
|
$accountenbleexpression: |
|
Redefinition of:
- auth_db::buildSelectUserQuery()
- Build the query for selecting the user for authentication
Parameters:
Redefinition of:
- auth_db::getUser()
- This function returns information about a user in an associative array with the following elements (minimal): "name" -> the userid (should normally be the same as the $user variable that gets passed to it.
void validateUser(
[
$user = ""], [
$passwd = ""]
)
|
|
Parameters:
Redefinition of:
- auth_db::validateUser()
- Authenticate a user.