Class LdapPasswordProvider431

  • All Implemented Interfaces:
    PasswordProvider, PasswordUtility, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

    public class LdapPasswordProvider431
    extends ConfigurablePasswordProvider
    LDAP PasswordProvider which can create users on request to synchronize with an LDAP directory. Assuming that a user exists in the configured LDAP store but not in the database, then a new user will be created. Authentication, however, always takes place against LDAP, and changing passwords is not allowed. Note: deleted LDAP users will not be removed from OMERO, but will not be able to login. Note: unlike LdapPasswordProvider, this implementation (the default LDAP password provider up until 4.3.2) does not check the user_filter on every login, but only when a user does not exist. This means that when using this implementation it is not possible to remove a user's login simply by modifying a part of the user_filter. To workaround various issues described under tickets #6248 and #6885, it was necessary to retain this logic in 4.3.3.
    Since:
    4.0
    See Also:
    SecuritySystem, Permissions