Web Author HTTP headers
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 5
- Joined: Tue Jan 16, 2018 4:18 pm
Web Author HTTP headers
Hi,
The Web Author supports Cookies (the Cookie HTTP header) as a mechanism to forward authentication to the CMS plugin. They are exposed by UserContext.
Would it be possible to get other headers from the user request?
For example, when using Basic Authentication the authentication is located in the "Authorization" header.
Another example, it might be interesting to access the "Accept-Language" header, either for messages generated by the CMS plugin but also for getting localized error messages from the CMS server when CMS-plugin requests are denied.
Thanks.
The Web Author supports Cookies (the Cookie HTTP header) as a mechanism to forward authentication to the CMS plugin. They are exposed by UserContext.
Would it be possible to get other headers from the user request?
For example, when using Basic Authentication the authentication is located in the "Authorization" header.
Another example, it might be interesting to access the "Accept-Language" header, either for messages generated by the CMS plugin but also for getting localized error messages from the CMS server when CMS-plugin requests are denied.
Thanks.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Web Author HTTP headers
Post by cristi_talau »
Hello,
These are good ideas. I registered a feature request for this.
Just one comment regarding the "Accept-Language" header. Web Author has its own language settings, we plan to send that value when we call the REST API besides the value provided by the user's browser.
Best,
Cristian
These are good ideas. I registered a feature request for this.
Just one comment regarding the "Accept-Language" header. Web Author has its own language settings, we plan to send that value when we call the REST API besides the value provided by the user's browser.
Best,
Cristian
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Web Author HTTP headers
Hi,
We just released the version 22 of Web Author and it includes the feature you requested: the HTTP headers are accesible from the UserContext.
Here you can see the list of features available in the new version:
https://www.oxygenxml.com/xml_web_author/whats_new.html
Best Regards,
Mihaela
We just released the version 22 of Web Author and it includes the feature you requested: the HTTP headers are accesible from the UserContext.
Here you can see the list of features available in the new version:
https://www.oxygenxml.com/xml_web_author/whats_new.html
Best Regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service