org.camunda.bpm.engine.impl.digest
Class ShaHashDigest
java.lang.Object
org.camunda.bpm.engine.impl.digest.Base64EncodedHashDigest
org.camunda.bpm.engine.impl.digest.ShaHashDigest
- All Implemented Interfaces:
- PasswordEncryptor
public class ShaHashDigest
- extends Base64EncodedHashDigest
- implements PasswordEncryptor
PasswordEncryptor
implementation using base64 encoded SHA password hashes
- Author:
- Daniel Meyer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShaHashDigest
public ShaHashDigest()
getAlgorithmName
protected String getAlgorithmName()
- Description copied from class:
Base64EncodedHashDigest
- allows subclasses to select the hash algorithm
- Specified by:
getAlgorithmName
in class Base64EncodedHashDigest
encrypt
public String encrypt(String password)
- Description copied from interface:
PasswordEncryptor
- Encrypt the given password
- Specified by:
encrypt
in interface PasswordEncryptor
- Overrides:
encrypt
in class Base64EncodedHashDigest
- Returns:
Copyright © 2014 camunda services GmbH. All Rights Reserved.