org.camunda.bpm.engine.impl.digest
Class DatabasePrefixHandler
java.lang.Object
org.camunda.bpm.engine.impl.digest.DatabasePrefixHandler
public class DatabasePrefixHandler
- extends Object
In order to distinguish between the used hashed algorithm
for the password encryption, as prefix is persisted with the
encrypted to the database.
The DatabasePrefixHandler
is used to handle the prefix, especially for building
the prefix, retrieving the algorithm name from the prefix and
removing the prefix name from the hashed password.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pattern
protected Pattern pattern
DatabasePrefixHandler
public DatabasePrefixHandler()
generatePrefix
public String generatePrefix(String algorithmName)
retrieveAlgorithmName
public String retrieveAlgorithmName(String encryptedPasswordWithPrefix)
removePrefix
public String removePrefix(String encryptedPasswordWithPrefix)
Copyright © 2017 camunda services GmbH. All rights reserved.