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. TheDatabasePrefixHandler
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.
-
-
Constructor Summary
Constructors Constructor Description DatabasePrefixHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generatePrefix(String algorithmName)
String
removePrefix(String encryptedPasswordWithPrefix)
String
retrieveAlgorithmName(String encryptedPasswordWithPrefix)
-
-
-
Field Detail
-
pattern
protected Pattern pattern
-
-