Exercise 4 | Earthquake Processing |
Data | Earthquakes (GeoJSON) |
Overall Goal | Create a workspace to read and process earthquake data and publish it to FME Server |
Demonstrates | Setting security options in FME Server |
Start Workspace | N/A |
End Workspace | N/A |
You're a technical analyst in the GIS department of your local city. You have plenty of experience using FME Desktop, and your department is now investigating FME Server to evaluate its capabilities.
You've already created a workspace to read a feed of earthquake data and published it to FME Server. Now you want to make sure that other users have permission to run it.
1) Connect to Server
Open the FME Server interface, either through the Web User Interface option on the start menu or directly in your web browser, and log in. Select Manage > Administration > Security from the menu.
2) Create User
Let’s create a new user account for a person who might make use of this workspace. Click on the Users tab and then on the New button:
When prompted, create a new user with the following parameters:
- User Name: WebGuest
- Full Name: Web Interface Account
- Roles: fmeguest
- Password: WebGuest1
3) Check Role Permissions
If this user is to have access to the web interface, we should check that in the security settings.
Click on the Role Policies tab and then choose the fmeguest role as the one to examine. At the very bottom of the list is a parameter for FME Server Web User Interface. It will be turned off by default. This means someone in this role could not possibly access the workspace through the web interface.
We could simply turn on that parameter - but then that would give every guest user the ability to access the interface, and this might not be a good idea. So, let's create a new role.
4) Create Role
Click the Role tab and select the checkbox for the fmeguest role. Click the Duplicate button to create a copy of it:
Call this role EmergencyPreparedness. Remove the guest account from this role and click OK to create it.
5) Set Role Permissions
Now back in the Role Policies tab choose the EmergencyPreparedness role as the one to examine.
Firstly check the option for Manage Repositories. This will let the user find workspaces and run them.
Next set the parameter for Web Interface access to yes:
Also scroll up slightly and check the settings for the Training repository. This role needs to have full access to this repository, as shown:
Click the Apply Changes button to save the changes you have made.
6) Test Role
Log out of the web interface (Admin > Log Out) and then log in again as the new WebGuest account.
Click the Run option on the menu and run the earthquake workspace.
Police Chief Webb-Mapp says... |
If you don't see a Run option on the menu, you probably missed setting Manage Repositories = Yes in step 5. |
CONGRATULATIONS |
By completing this exercise you have learned how to:
|