Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
in our project, customer decided to switch from basic authentication to form based authentication.
We have existing interfaces which were configured to use the basic authentication.
I have found that adding "/protocolAuth" to the Rest Urls would work form based authentication. But this will require that the interface partners have to update their urls. Is there an another way to handle this conversion, without having to update the URLs of the interface a?
Thanks in advance!
Solved! Go to Solution.
We have managed to configure Basic Authentication for the Odata requests.
We have added the in the "AuthResAdditions.xml" Data “<resource type="protocolAuth">servlet/odata</resource>” and applied "ant -f applyApacheWebAppConfig.xml " command in “Windchill/Windchill_112/Windchill/apacheConf/config" folder. The changes are applied in the "30-app-Windchill-Auth.conf" file in /Windchill/Windchill_112/HTTPServer/conf/conf.d. Beside of this, we have added in WEB.xml security constraint for the Odata URL Pattern.
We have managed to configure Basic Authentication for the Odata requests.
We have added the in the "AuthResAdditions.xml" Data “<resource type="protocolAuth">servlet/odata</resource>” and applied "ant -f applyApacheWebAppConfig.xml " command in “Windchill/Windchill_112/Windchill/apacheConf/config" folder. The changes are applied in the "30-app-Windchill-Auth.conf" file in /Windchill/Windchill_112/HTTPServer/conf/conf.d. Beside of this, we have added in WEB.xml security constraint for the Odata URL Pattern.