Class Base64EncodedSaltGenerator
- java.lang.Object
 - 
- org.camunda.bpm.engine.impl.digest.Base64EncodedSaltGenerator
 
 
- 
- All Implemented Interfaces:
 SaltGenerator
- Direct Known Subclasses:
 Default16ByteSaltGenerator
public abstract class Base64EncodedSaltGenerator extends Object implements SaltGenerator
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected RandomsecureRandom 
- 
Constructor Summary
Constructors Constructor Description Base64EncodedSaltGenerator() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected StringencodeSalt(byte[] salt)protected byte[]generateByteSalt()StringgenerateSalt()protected abstract IntegergetSaltLengthInByte() 
 - 
 
- 
- 
Field Detail
- 
secureRandom
protected Random secureRandom
 
 - 
 
- 
Method Detail
- 
generateSalt
public String generateSalt()
- Specified by:
 generateSaltin interfaceSaltGenerator
 
- 
generateByteSalt
protected byte[] generateByteSalt()
 
- 
encodeSalt
protected String encodeSalt(byte[] salt)
 
- 
getSaltLengthInByte
protected abstract Integer getSaltLengthInByte()
 
 - 
 
 -