Fired when a profile's credential is created or changed, covering both passwords (raised from PasswordManager) and signatures (raised from UserManager). Carries the raw password for a password change, for the short window before the event completes, so a listener can compare it against an external system using getPasswordHash without Kademi persisting the plain text itself.

Group: Journeys

Implements: FunnelEvent, CommonAppEvent


Properties

PropertyReturnsDescription
credCredentialThe credential that was created or updated.
leadProfileProfileThe profile whose credential was updated.
passwordbooleanWhether the updated credential is a password credential.
profileProfileThe profile whose credential was updated.
relatedLeadLeadThis event is never associated with an existing lead.
signaturebooleanWhether the updated credential is a signature credential.
triggeredGoalClass<? extends Goal>The funnel goal class this event can trigger, always ProfileUpdatedGoal.

Methods

getCred()

Returns: Credential

The credential that was created or updated.

isSignature()

Returns: boolean

Whether the updated credential is a signature credential.

isPassword()

Returns: boolean

Whether the updated credential is a password credential.

getLeadProfile()

Returns: Profile

The profile whose credential was updated.

getRelatedLead()

Returns: Lead

This event is never associated with an existing lead.

getProfile()

Returns: Profile

The profile whose credential was updated.

getTriggeredGoal()

Returns: Class<? extends Goal>

The funnel goal class this event can trigger, always ProfileUpdatedGoal.

getPasswordHash(String algorithm)

Returns: String

Hashes the raw password carried by this event with the given digest algorithm, caching the result so repeated calls for the same algorithm do not re-hash. Returns null when this event is not a password change, or when no raw password was supplied.

ParameterDescription
algorithmthe digest algorithm name, eg "SHA-256", as accepted by java.security.MessageDigest
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.