Class SecurityHandler.QueryParamHandler
java.lang.Object
io.helidon.security.integration.webserver.SecurityHandler.QueryParamHandler
- Enclosing class:
- SecurityHandler
Handler of query parameters - extracts them and stores
them in a security header, so security can access them.
-
Method Summary
Modifier and TypeMethodDescriptionCreate an instance from configuration.create
(QueryParamMapping mapping) Create an instance from existing mapping.create
(String queryParamName, TokenHandler headerHandler) Create an instance from parameter name and explicitTokenHandler
.
-
Method Details
-
create
Create an instance from configuration.- Parameters:
config
- configuration instance- Returns:
- new instance of query parameter handler
-
create
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
-