Class PassThroughStrategy

java.lang.Object
com.svenruppert.jsentinel.credential.propagation.PassThroughStrategy
All Implemented Interfaces:
OutboundTokenStrategy

@ExperimentalJSentinelApi public final class PassThroughStrategy extends Object implements OutboundTokenStrategy
Default OutboundTokenStrategy — forwards a bearer-style inbound token as Authorization: Bearer <value>.

Discipline:

  • RefreshToken is never forwarded (Class-A secret, would leak via the outbound call).
  • ApiKey is not prefixed with Bearer . Consumers register their own ApiKeyHeaderStrategy when they want one.

Stateless singleton — share INSTANCE across threads.

Since:
00.74.00