org.camunda.bpm.engine.impl.digest
Interface PasswordEncryptor

All Known Implementing Classes:
ShaHashDigest

public interface PasswordEncryptor

The PasswordEncryptor provides the api to customize the encryption of passwords.

Author:
Daniel Meyer, nico.rehwaldt

Method Summary
 boolean check(String password, String encrypted)
          Returns true if the given plain text equals to the encrypted password.
 String encrypt(String password)
          Encrypt the given password
 

Method Detail

encrypt

String encrypt(String password)
Encrypt the given password

Parameters:
password -
Returns:

check

boolean check(String password,
              String encrypted)
Returns true if the given plain text equals to the encrypted password.

Parameters:
password -
encrypted -
Returns:


Copyright © 2015 camunda services GmbH. All rights reserved.