Class SignedHeadersConfig.HeadersConfig
java.lang.Object
io.helidon.security.providers.httpsign.SignedHeadersConfig.HeadersConfig
- Enclosing class:
- SignedHeadersConfig
Configuration of headers to be signed.
- 
Method SummaryModifier and TypeMethodDescriptioncreate()Create a config with no signed headers (e.g.Create a new instance from configuration.Create a config with required headers only (e.g.Create a new instance with both required headers and headers that are signed only if present in request.
- 
Method Details- 
createCreate a config with no signed headers (e.g. signatures disabled)- Returns:
- instance with no required headers
 
- 
createCreate a config with required headers only (e.g. no "if-present" headers).- Parameters:
- requiredHeaders- headers that must be signed
- Returns:
- instance with required headers
 
- 
createpublic static SignedHeadersConfig.HeadersConfig create(List<String> requiredHeaders, List<String> ifPresentHeaders) Create a new instance with both required headers and headers that are signed only if present in request.- Parameters:
- requiredHeaders- headers that must be signed (and signature validation or creation should fail if not signed or present)
- ifPresentHeaders- headers that must be signed if present in request
- Returns:
- instance with required and "if-present" headers
 
- 
createCreate a new instance from configuration.- Parameters:
- config- configuration located at header config
- Returns:
- instance configured from config
 
 
-