|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurableHashService
A HashService
that allows configuration of its strategy via JavaBeans-compatible setter methods.
Method Summary | |
---|---|
void |
setHashAlgorithmName(String name)
Sets the name of the MessageDigest algorithm that will be used to compute
hashes. |
void |
setHashIterations(int iterations)
Sets the number of hash iterations that will be performed during hash computation. |
void |
setPrivateSalt(ByteSource privateSalt)
Sets the 'private' (internal) salt to be paired with a 'public' (random or supplied) salt during hash computation. |
void |
setRandomNumberGenerator(RandomNumberGenerator rng)
Sets a source of randomness used to generate public salts that will in turn be used during hash computation. |
Methods inherited from interface org.apache.shiro.crypto.hash.HashService |
---|
computeHash |
Method Detail |
---|
void setPrivateSalt(ByteSource privateSalt)
privateSalt
- the 'private' internal salt to be paired with a 'public' (random or supplied) salt during
hash computation.void setHashIterations(int iterations)
iterations
- the number of hash iterations that will be performed during hash computation.void setHashAlgorithmName(String name)
MessageDigest
algorithm that will be used to compute
hashes.
name
- the name of the MessageDigest
algorithm that will be used to
compute hashes.void setRandomNumberGenerator(RandomNumberGenerator rng)
rng
- a source of randomness used to generate public salts that will in turn be used during hash computation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |