Class DefaultPasswordHashService

java.lang.Object
org.opendaylight.aaa.impl.password.service.DefaultPasswordHashService
All Implemented Interfaces:
org.opendaylight.aaa.api.password.service.PasswordHashService

public class DefaultPasswordHashService extends Object implements org.opendaylight.aaa.api.password.service.PasswordHashService
  • Field Details

  • Constructor Details

    • DefaultPasswordHashService

      public DefaultPasswordHashService()
    • DefaultPasswordHashService

      public DefaultPasswordHashService(org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.password.service.config.rev170619.PasswordServiceConfig passwordServiceConfig)
  • Method Details

    • getPasswordHash

      public org.opendaylight.aaa.api.password.service.PasswordHash getPasswordHash(String password)
      Specified by:
      getPasswordHash in interface org.opendaylight.aaa.api.password.service.PasswordHashService
    • getPasswordHash

      public org.opendaylight.aaa.api.password.service.PasswordHash getPasswordHash(String password, String salt)
      Specified by:
      getPasswordHash in interface org.opendaylight.aaa.api.password.service.PasswordHashService
    • passwordsMatch

      public boolean passwordsMatch(String plaintext, String stored, String salt)
      Specified by:
      passwordsMatch in interface org.opendaylight.aaa.api.password.service.PasswordHashService