Replaces an existing credential of the same type with the supplied one.
Syntax
void
replaceCredential
(
final Credential
credential
,
final long
callerId
) throws EntityNotFoundException, CustomerStatusException
Parameters
-
credential –
a pre-hashed credential
-
callerId –
represents the ID of the caller of the operation. Used for tracking/audit purposes.
Usage
The old one is marked as in-active and the new one is saved. The credential must already be provided in hashed format. This method is mainly called internally.