public class HTTPHeaderProcessor extends Object
10.2012
Constructor and Description |
---|
HTTPHeaderProcessor() |
Modifier and Type | Method and Description |
---|---|
String |
cleanContent(String content)
Tries to remove any existing digest from the provided content value.
|
String |
createValidHttpHeader(String content)
Appends a digest of the content to it.
|
boolean |
isProcessorEnabled()
Checks if the processor is enabled considering the configured digest key.
|
boolean |
isValidationActive()
Checks if the validation is active considering the configured activation date.
|
boolean |
validateHttpHeader(String header)
Searches for the digest in the header/cookie value provided and verifies it.
|
public HTTPHeaderProcessor() throws com.tridion.configuration.ConfigurationException
com.tridion.configuration.ConfigurationException
public String createValidHttpHeader(String content)
content
- The content for which the digest should be calculated and appended to it.public String cleanContent(String content)
content
- contentpublic boolean validateHttpHeader(String header)
header
- header/cookie valuepublic boolean isValidationActive()
public boolean isProcessorEnabled()
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries