Class PasswordHashValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.svenruppert.jsentinel.credential.password.policy.PasswordHashValidationException
All Implemented Interfaces:
Serializable

public final class PasswordHashValidationException extends RuntimeException
Thrown by PasswordHashValidator when a structurally well-formed envelope is rejected by the active PasswordHashPolicy.

Validation happens before any KDF is executed; this exception is therefore the gate that prevents parameter-driven resource exhaustion.

Messages remain structural and must not embed envelope payloads, salts, inner-hash material or pepper key identifiers.

See Also:
  • Constructor Details

    • PasswordHashValidationException

      public PasswordHashValidationException(String message)
    • PasswordHashValidationException

      public PasswordHashValidationException(String message, Throwable cause)