Configuring permissions to Web services in webservices.properties
You can configure the webservices.properties file to restrict user access or grant permissions to WorldServer Web services of your choice.
Procedure
- On the WorldServer machine, navigate to the configuration directory of the Web application to find the webservices.properties file. Here are some possible locations of this file:
- If WorldServer is running on Windows under Tomcat, the webservices.properties file is typically located in:
%WS_CONFIG%\<application name>c:\Program Files\Idiom\WorldServer\tomcat\webapps\<application name>\WEB-INF\classes\config
- If WorldServer is running on Linux under Tomcat, the webservices.properties file is typically located in:
$WS_CONFIG/<application name>/usr/local/idiom/worldserver/tomcat/webapps/<application name>/WEB-INF/classes/config
- If WorldServer is running on Windows under Tomcat, the webservices.properties file is typically located in:
- Open webservices.properties with a text editor and configure which Web services and methods are available to your users.
Note: The name of the services or operations are the same as the ones from
server-config.wsdd. The following examples are services and operations from the integration with Studio. Once defined, only the specified services will be allowed. Also, if no operations are specified for a service, all its operations are allowed.allowed_services=WSContext(loginUser); UserWSUserManager(getUsers,getUser); ExchangeWSExportImportManager(importKit); TmWSTmManager(isLiveTmMode,getTm,getAllTms,getAllTms2); TmWSTm(getSourceTargetLanguages,lookup2,lookupConcordance); WorkflowWSWorkflowManager(getTask,getProject); AssetWSAssetManager(getSegment