replaceCredential(final long, String, int, Integer, final long) method

Replaces an existing credential of the same type with the supplied one.

Syntax

void replaceCredential ( final long customerId , String credential , int credentialType , Integer credentialStatus , 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 be supplied as plain text and will be stored hashed. The credential is NOT checked against the policy. This must be done before the call to this method via

checkCredentialStrength