Class ConfigurationManager


  • public final class ConfigurationManager
    extends Object
    This class provides access to read and set application settings of the JWT.
    • Constructor Detail

      • ConfigurationManager

        public ConfigurationManager()
    • Method Detail

      • setServerConfiguration

        public static void setServerConfiguration​(ServerConfiguration serverConfiguration)
        Inject a different configuration implementation, e.g. from a properties or YAML file.
        Parameters:
        serverConfiguration - the ServerConfiguration that should be used
      • getServerConfiguration

        public static ServerConfiguration getServerConfiguration()
        Provides access to the JWT server-side application configuration. These settings are used by the JWT services.
        Returns:
        the ServerConfiguration that is used