replaceCredential(final Credential, final long) method

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

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.