Addition of the standard header "Pragma" is discouraged errors when AM 5, 5.1.x and OpenAM 13.5 is configured as an OAuth Provider
The purpose of this article is to provide assistance if you encounter "Addition of the standard header "Pragma" is discouraged as a future version of the Restlet API will directly support it." warning messages when AM/OpenAM is configured as an OAuth Provider.
Archived
This article has been archived and is no longer maintained by ForgeRock.
Symptoms
The same error is shown in the web application container log (for example, catalina.out for Apache Tomcat™), but may take a slightly different format; these formats include:
WARNING [https-jsse-nio-8443-exec-3] org.restlet.engine.header.HeaderUtils.addExtensionHeaders Addition of the standard header "Pragma" is discouraged as a future version of the Restlet API will directly support it.org.restlet.engine.header.HeaderUtils addExtensionHeaders WARNING: Addition of the standard header "Pragma" is discouraged as a future version of the Restlet API will directly support it.WARNING [org.restlet.Component.LogFilter] (http-/127.0.0.1:8443-7) Addition of the standard header "Pragma" is discouraged as a future version of the Restlet API will directly support it.Recent Changes
Upgraded to AM 5 or 5.1.x.
Upgraded to OpenAM 13.5.
Configured AM/OpenAM as an OAuth Provder.
Causes
HTTP header information exists that currently cannot be translated using the Restlet API, but will be supported in the future. See Restlet Framework - Mapping HTTP headers Introduction for further information.
Solution
Firstly, this error is harmless and can be ignored. However, this issue can be resolved by upgrading to AM 5.5 and later, or OpenAM 13.5.1; you can download this from BackStage.
See Also
N/A
Related Training
N/A