Disabling OAuth authorization
The OAuth authorization framework is configurable and can be disabled, although not recommended. Disable OAuth only if you have a specific reason for doing so.
About this task
This procedure disables OAuth authorization for the Model Service. RWS strongly recommends against disabling OAuth authentication, especially in a production environment.
Procedure
- Disable OAuth in the Model Service.
- Remove the ID and password for Model Service.
- Open cd_client_conf.xml for editing.
- Comment out the
TokenServiceelement. - Save and close the file.
- For every Java/JSP client or API, disable the
TokenServiceparameter.- Open cd_client_conf.xml for editing.
- In each file, comment out the
TokenServiceelement. - Save and close the file.
- For every .NET client or API, disable the
oauth-enabledattribute in theapplication settingselement.- From the root folder of your .NET web application, open Web.config for editing.
- Find the
oauth-enabledadd key attribute, and set its value tofalse. - Save and close the file.
- Restart the Model Service.
- Restart all clients and APIs.