Class SecurityHandler.QueryParamHandler
- java.lang.Object
-
- io.helidon.security.integration.webserver.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecurityHandler.QueryParamHandler
create(Config config)
Create an instance from configuration.static SecurityHandler.QueryParamHandler
create(QueryParamMapping mapping)
Create an instance from existing mapping.static SecurityHandler.QueryParamHandler
create(String queryParamName, TokenHandler headerHandler)
Create an instance from parameter name and explicitTokenHandler
.
-
-
-
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(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 explicitTokenHandler
.- Parameters:
queryParamName
- name of parameterheaderHandler
- handler to extract parameter and store the header- Returns:
- new instance of query parameter handler
-
-