Class NoOpPepperService

java.lang.Object
com.svenruppert.jsentinel.credential.password.pepper.NoOpPepperService
All Implemented Interfaces:
PepperService

public final class NoOpPepperService extends Object implements PepperService
Phase-1a placeholder for PepperService.

This implementation deliberately performs no pepper protection. It publishes no active key id, and a lookup of any non-empty keyId resolves to Optional.empty(). The verification pipeline interprets that as VERIFICATION_FAILED_UNKNOWN_PEPPER_KEY so an envelope that was peppered cannot be silently downgraded.

The class name is the explicit warning: production deployments must replace this implementation when Phase 2 ships a real pepper service.

  • Field Details

  • Constructor Details

    • NoOpPepperService

      public NoOpPepperService()
  • Method Details