Interface JWTProcessorConfiguration<C extends SecurityContext>

  • All Superinterfaces:
    JOSEProcessorConfiguration<C>
    All Known Subinterfaces:
    ConfigurableJWTProcessor<C>
    All Known Implementing Classes:
    DefaultJWTProcessor

    public interface JWTProcessorConfiguration<C extends SecurityContext>
    extends JOSEProcessorConfiguration<C>
    JWT processor configuration.

    Specifies the required components to process JWTs:

    • To verify signed JWTs:
      • Key selector to determine key candidate(s) for JWS verification based on the JWS header and application- specific context information.
      • Factory to construct a JWS verifier for a given key candidate and JWS header information. A default factory implementation is provided.
    • To decrypt encrypted JWTs:
      • Key selector to determine key candidate(s) for JWE decryption based on the JWS header and application-specific context information.
      • Factory to construct a JWE decrypter for a given key candidate and JWE header information. A default factory implementation is provided.
    • Optional JWT claims set verifier. Ensures that the claims set of a JWT complies with an application's requirements.
    Version:
    2021-06-05
    Author:
    Vladimir Dzhuvinov