Class MassCredentialStatusChange

java.lang.Object
com.svenruppert.jsentinel.credential.emergency.MassCredentialStatusChange

public final class MassCredentialStatusChange extends Object
Operational helper for incident response: bulk-transition every named credential into a single target status (typically CredentialStatus.MUST_CHANGE or CredentialStatus.COMPROMISED).

The helper exists because the CredentialStore contract deliberately exposes no iteration — the operator (or the consuming application) chooses which subjects are in scope by supplying an Iterable<String> of usernames. This shape works the same against an in-memory store, a SQL store with a cursor, or an Eclipse-Store snapshot.

Every successful transition publishes a CredentialStatusChanged audit event so the incident timeline is preserved (CWE-778). Records that are already at the target status are skipped; records that are missing from the store are recorded as MassCredentialStatusChange.Report.notFound() so the operator can investigate residue.