users
Interface PassWDGarbler
- public interface PassWDGarbler
- extends Serializable
Strategy to be used when garbling passwords. A concrete implementation of this interface can be found in
User.DEFAULT_PASSWORD_GARBLER
.
- Hooks:
- Define Password Garbling Algorithm
- Since:
- v2.0
- Version:
- 2.0 05/05/1999
- Author:
- Steffen Zschaler
- See Also:
User.setGlobalPassWDGarbler(users.PassWDGarbler)
,
User.garblePassWD(java.lang.String)
garblePassWD
public String garblePassWD(String sPassWD)
- Garble the given password and return the result.
You can implement any garbling algorithm as long as the follwoing conditions
hold:
- It takes a string and returns a string.
- Different passwords give different results.
- The same password gives the same result in subsequent calls.
- Override:
- Always.
- Parameters:
sPassWD
- the password to be garbled.- Returns:
- the garbled password.
- Hooks:
- Define Password Garbling Algorithm
- See Also:
User.garblePassWD(java.lang.String)
,
User.isPassWd(java.lang.String)