dmBridge PHP API
CustomAuthenticationService Class Reference
Inheritance diagram for CustomAuthenticationService:

Public Member Functions


Detailed Description

By default, dmBridge performs authentication using its built-in DMCdmAuthenticationService class, which authenticates against CONTENTdm's HTTP Basic authentication component the same as the CONTENTdm(R) administration module.

It is also possible to tell dmBridge to use a different authentication service. This file contains a skeleton of a class needed to do this. To authenticate against some other service, like an LDAP server (for example), simply complete the authenticate() method and set "dmbridge.authentication_class" to the name of this class in config.ini. (You are free to rename this class, but you must keep it in this same folder and the class name must match the filename.)

Author:
Your Name Here

Definition at line 19 of file CustomAuthenticationService.php.


Member Function Documentation

CustomAuthenticationService::authenticate ( DMUser user,
password 
)
Parameters:
DMUseruser
stringpassword
Returns:
boolean True if authentication was successful; false if not

Implements DMAuthenticationService.

Definition at line 27 of file CustomAuthenticationService.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables