Symptoms
The FME Server SDK application is not working with security enabled.
Cause
If security is enabled FME Sever requires all clients to authenticate themselves.
Resolution
1. Add your application as a security resource.
-
Go to http://<server>/fmeserver-admin/acm/apps and click the "Add Resource" button at the bottom of the page.
-
Enter the details of your application in the New Resource dialog and add roles who need access to the application to the list. Note, the Client ID needs to be unique on your server, it is best to use something descriptive and unique such as a reverse domain (ie com.safe.myFMEServerApp).
-
When opening a session with the server, the Client ID created earlier will need to be passed to the server.
2. Update SDK Sample
The FME Server API Samples that shipped with FME Server 2010 do not have security support. Please see the updated samples with security support:
-
Java (see Document Link Java)
-
.Net (see Document Link .Net)
-
C++ (see Document Link C++)