|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PasswordEncoder
This interface allows Join system deployer to provide their own password encoding and validation methods for the Join application.
Method Summary | |
---|---|
java.lang.String |
encodePassword(java.lang.String userId,
java.lang.String clearPassword,
java.lang.Object[] arguments)
A hook that allows implementation to provide custom password encoding method using a set of arguments. |
boolean |
validatePassword(java.lang.String userId,
java.lang.String inputPassword,
java.lang.String expectedPassword)
A hook that allows implementation to change the validation of the input password against the expected password. |
Method Detail |
---|
java.lang.String encodePassword(java.lang.String userId, java.lang.String clearPassword, java.lang.Object[] arguments)
userId
- The user identifierclearPassword
- The non encoded password of the userarguments
- Arguments for encoding process
boolean validatePassword(java.lang.String userId, java.lang.String inputPassword, java.lang.String expectedPassword)
userId
- The user identifierinputPassword
- The password provided by the userexpectedPassword
- The real user's pasword
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |