Configuring access rights and IP filtering for the Shared Web Server
Configure access rights on the Shared Web Server panel in Runtime Management.
You must have the Runtime Management privilege to perform this task. If you have the Runtime Management Read Access privilege, you cannot perform the task.
About this task
If the account that you are using owns the runtime that you selected, you can change the web server settings for it. You can change the settings either for the account or for web service users of the account. You can add and delete account users.
Procedure
-
Go to Manage > Runtime Management.
-
Select the runtime from the list on the left.
-
Under Settings & Configuration, click Shared Web Server.
The Shared Web Server panel opens. The number of tabs that you see and the settings on the tabs vary, depending on whether the account that you are using owns the runtime that you selected and the features enabled in the account.
-
Optional: In the Listening Port Configuration section, choose an Authentication Type type: None, Basic, Client Certificate Header, Client Certificate, Custom, Gateway, or External Provider.
infoThe Custom authentication type is available only for Runtimes and Runtime clusters. It can be used only by accounts for which the API Management feature is enabled.
If you are setting up an account and one or more web service users, they must all use the same authentication type.
For Runtimes and Runtime clusters, the authentication type selected here will be used by all ports added to this web services server. For Clouds, each port that is added can use the None, Basic, or Client Certificate authentication types. The Cloud owner’s account can then select any one of the authentication types used by its ports as the Cloud’s authentication type.
If you selected None, Basic, or Client Certificate, and API Type is set to Intermediate or Advanced, skip to step 10.
-
If the API Type and Authentication Type are both set to Basic, do the following:
-
Click Generate.
-
If you want to show the token that was generated, select Show Token.
-
Skip to the last step.
-
-
If the Authentication Type is set to Custom, do the following:
-
Type a Login Module Class Name.
-
Optional: Select Cache Authentication Credentials.
-
Optional: Change the Authentication Caching Timeout.
-
Click Add Option.
-
Type a Key.
-
Optional: If you must encrypt a key-value pair that contains a local credential, select Encrypt, click Click to Set, enter the value, and click OK
-
Optional: Type a Value.
-
Repeat substeps d-g to add and define each option required by the login module.
-
-
If Authentication Type is set to Client Certificate Header, specify a Client Certificate Header Name.
-
If Authentication Type is set to Client Certificate Header or Client Certificate, choose a public certificate for the SSL Certificate.
-
Optional: Make other changes as needed to the settings on the General tab.
-
If the User Management tab is present, select it. Otherwise, skip to the last step.
-
In the Users list, make sure the account is selected.
-
If API Type is set to Intermediate or Advanced and the Authentication Type is set to Basic, go to the Token section and do the following:
-
Click Generate.
-
If you want to show the token that was generated, select Show Token.
-
-
If Authentication Type is set to Custom, select an API user, go to the External Username section and enter the external identity provider’s user name for that person.
-
If you want to use IP filtering, go to the IP Filter section and do the following:
-
Select Use IP Filtering.
-
Click Add Filter.
-
Type an IP address is the box above the Add Filter button.
-
Repeat the two steps above as needed to add more IP addresses. To delete an IP address, click the Delete link to the right of it.
-
-
If API Type is set to Intermediate and you want to allow access to only certain processes, go to the Use Process Filtering section and do the following:
-
Select Allow access only for specified processes.
-
Select the check boxes next to the processes to which the selected account (or API user) should have access.
-
-
If API Type is set to Advanced and you want to allow access to processes linked only to certain API Service components, go to the API Filtering section and do the following:
-
Select Allow access only for specified APIs.
-
Select the check boxes next to the API Service components whose linked processes should be accessible to the selected account (or API user).
-
-
In the Users list, click the
Add User icon.
-
In the Username section, type an API user name.
-
Click Save to apply the settings on all of the Shared Web Server panel tabs.
You are prompted to restart the runtime. You have the option to restart now or restart later.