mxcubecore.HardwareObjects.LdapAuthenticator#

This module serves to connect to and Ldap server.

It works in principle for ESRF, Soleil Proxima and MAXIV beamlines

Classes

class mxcubecore.HardwareObjects.LdapAuthenticator.LdapAuthenticator(name)[source]#

Bases: AbstractAuthenticator

authenticate(username, password, retry=True, fields=None)[source]#

Authenticate with credentials username, password

Parameters:
  • username – username

  • password – password

Returns:

True on success otherwise false

init()[source]#

Hardware object init.

invalidate()[source]#

de-authetnicate user with <username>

Parameters:

username – username