Class SecurityHandler.QueryParamHandler

java.lang.Object
io.helidon.webserver.security.SecurityHandler.QueryParamHandler
Enclosing class:
SecurityHandler

public static final class SecurityHandler.QueryParamHandler extends Object
Handler of query parameters - extracts them and stores them in a security header, so security can access them.
  • Method Details

    • create

      public static SecurityHandler.QueryParamHandler create(Config config)
      Create an instance from configuration.
      Parameters:
      config - configuration instance
      Returns:
      new instance of query parameter handler
    • create

      public static SecurityHandler.QueryParamHandler create(QueryParamMapping mapping)
      Create an instance from existing mapping.
      Parameters:
      mapping - existing mapping
      Returns:
      new instance of query parameter handler
    • create

      public static SecurityHandler.QueryParamHandler create(String queryParamName, TokenHandler headerHandler)
      Create an instance from parameter name and explicit TokenHandler.
      Parameters:
      queryParamName - name of parameter
      headerHandler - handler to extract parameter and store the header
      Returns:
      new instance of query parameter handler