Class 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 Detail

      • 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​(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