Class NimbusJwtBundle<C extends io.dropwizard.Configuration,​T extends TokenConfiguration>

  • Type Parameters:
    C - Type of configuration.
    T - Type of token configuration.
    All Implemented Interfaces:
    io.dropwizard.ConfiguredBundle<C>

    public class NimbusJwtBundle<C extends io.dropwizard.Configuration,​T extends TokenConfiguration>
    extends Object
    implements io.dropwizard.ConfiguredBundle<C>
    A basic bundle which allows to group configuration options for token processing in a separate class.
    Author:
    Ɓukasz Dywicki
    • Constructor Detail

      • NimbusJwtBundle

        public NimbusJwtBundle​(Function<C,​T> extractor)
    • Method Detail

      • run

        public void run​(C configuration,
                        io.dropwizard.setup.Environment environment)
                 throws Exception
        Specified by:
        run in interface io.dropwizard.ConfiguredBundle<C extends io.dropwizard.Configuration>
        Throws:
        Exception