AlgorithmUpgradeCredentialPasswordEncoder which is provided with the InternalCredential as well
to allow for migrating between two different encoding schemes.
The extended encode method is *only* called in the context of validating an existing (old) password,
and not used for creating or updating to a new password directl!
After successfull authentication, the recodeIfNeeded method will be called allowing to migrate to the new encryption scheme.
author: Ate Douma version: $Id$ |