verifyPassword (Session - Java)

Verifies a plain string value against a hashed value.

Note: This method is new with Release 6.5.

Defined in

Session

Syntax

public boolean verifyPassword(String password, String hashedpassword)
    throws NotesException

Parameters

String password

The plain value..

String hashedpassword

The hashed value.

Return value

boolean
  • true if the plain value converts to the same hashed value
  • false if the plain value does not hash the same

Usage

Use hashPassword to create a hashed value.

Example