Class SignedHeadersConfig.HeadersConfig
- java.lang.Object
- 
- io.helidon.security.providers.httpsign.SignedHeadersConfig.HeadersConfig
 
- 
- Enclosing class:
- SignedHeadersConfig
 
 public static final class SignedHeadersConfig.HeadersConfig extends Object Configuration of headers to be signed.
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SignedHeadersConfig.HeadersConfigcreate()Create a config with no signed headers (e.g.static SignedHeadersConfig.HeadersConfigcreate(Config config)Create a new instance from configuration.static SignedHeadersConfig.HeadersConfigcreate(List<String> requiredHeaders)Create a config with required headers only (e.g.static SignedHeadersConfig.HeadersConfigcreate(List<String> requiredHeaders, List<String> ifPresentHeaders)Create a new instance with both required headers and headers that are signed only if present in request.
 
- 
- 
- 
Method Detail- 
createpublic static SignedHeadersConfig.HeadersConfig create() Create a config with no signed headers (e.g. signatures disabled)- Returns:
- instance with no required headers
 
 - 
createpublic static SignedHeadersConfig.HeadersConfig create(List<String> requiredHeaders) Create 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
 
 - 
createpublic static SignedHeadersConfig.HeadersConfig create(Config config) Create a new instance from configuration.- Parameters:
- config- configuration located at header config
- Returns:
- instance configured from config
 
 
- 
 
-