Class LDAPPasswordEncoderService

java.lang.Object
de.hybris.platform.servicelayer.user.impl.DefaulPasswordEncoderService
de.hybris.platform.ldap.services.impl.LDAPPasswordEncoderService
All Implemented Interfaces:
PasswordEncoderService

public class LDAPPasswordEncoderService extends DefaulPasswordEncoderService
LDAP specific password checking service.
  • Constructor Details

    • LDAPPasswordEncoderService

      public LDAPPasswordEncoderService()
  • Method Details

    • isValid

      public boolean isValid(UserModel user, String plainPassword)
      Description copied from interface: PasswordEncoderService
      Checks if the encoded password (stored in the user) matches the given plain text password. For this the plain password will be encoded and compared with the user's encoded password.
      Specified by:
      isValid in interface PasswordEncoderService
      Overrides:
      isValid in class DefaulPasswordEncoderService
      Parameters:
      user - the user contains the encoded password and the (password) encoding
      plainPassword - the plain text password
      Returns:
      true if the encoded passwords matches, false otherwise