Chapter 9. User authentication

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

It is also possible to tell dmBridge to use a different authentication service. The file dm/extensions/CustomAuthenticationService.php 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 the dm/extensions folder and the class name must match the filename.)