You can create new API projects at any time.
To create an API project
-
On the menu bar, click View | Navigation.
-
Click API projects in the navigation.
-
Click Add | Add API project.
-
In the definition tree view, click the topmost node.
-
Click View | Node editor on the menu bar.
-
In the node editor view, configure the following settings.
General settings |
Identifier |
Enter a unique name for the node. |
Technical abbreviation |
Enter a short name for the API project. This name is used later for the assignment of the project. |
Control-ID |
Enter a unique ID for the node. |
Model version |
Shows the model version being used. |
Workflow control |
Allow extensions to this document |
Enable this option to permit the creation of enhancements to this node. |
Advanced settings |
Required database modules |
(Optional) Enter the database modules required for this API project. |
-
Configure further API project settings (see Configuring authentication and Configuring the compilation).
-
On the toolbar, click Save.
Related topics
You can edit any API projects you have created at any time.
NOTE: You cannot edit any API projects that have been predefined by the API Designer.
To edit an API project
-
On the menu bar, click View | Navigation.
-
Click API projects in the navigation.
-
In the tree structure, double-click the API project to be edited.
-
Click View | Node editor on the menu bar.
-
Use the Definition tree view and the Node editor view to configure further API project settings (see Configuring authentication and Configuring the compilation).
-
On the toolbar, click Save.
Related topics
You can delete any API projects you have created at any time.
NOTE: You cannot delete any API projects that have been predefined by the API Designer.
To delete an API project
-
On the menu bar, click View | Navigation.
-
Click API projects in the navigation.
-
In the tree structure, click on the API project to be deleted.
-
Click Delete.
-
Confirm the prompt by selecting Yes in the dialog.
-
Click Reload data in the tree structure.
Related topics
The Authentication node in the definition tree view is used to determine how clients will log in to the API.
There are three authentication options that you can configure:
-
Standard: Only the authentication methods you list here are permitted. For this method you can also enable single sign-on.
-
Allow all manual modules: All manual authentication modules are permitted, if these are activated for the selected product. For this method you can also enable single sign-on.
-
Fixed credentials: This settings enables the user to log in to the API using fixed login data. To use this option, the login data must be stored in the web.config files on each API server.
To set the permitted manual authentication options
-
On the menu bar, click View | Navigation.
-
Click API projects in the navigation.
-
In the tree structure, double-click the API project to be edited.
-
In the definition tree view, click the Authentication node.
-
Click View | Node editor on the menu bar.
-
In the node editor view, perform the following actions:
-
In the Authentication type menu, select Standard.
-
Enter a unique ID for the node in the Control ID field.
-
(Optional) In the Authentication properties field, enter the properties for the authentication. For more information about the authentication modules, see the One Identity Manager Configuration Guide.
-
(Optional) If authorizations for users are controlled by a product, enable the Product option and select the required product in the selection list.
-
In the definition tree view, open the Authentication node.
-
Right-click the Manual authentication modules node.
-
Click Authentication module in the context menu.
The Authentication module node is placed as a child to the node.
-
Click the Authentication module node.
-
In the node editing view, select the required authentication module from the Name selection list. For more information about the authentication modules, see the One Identity Manager Configuration Guide.
-
Enter a unique ID for the node in the Control ID field.
-
Repeat steps 8 to 12 until to add each authentication method you wish to use.
-
Click Save on the menu bar.
To permit all manual authentication options
-
On the menu bar, click View | Navigation.
-
Click API projects in the navigation.
-
In the tree structure, double-click the API project to be edited.
-
In the definition tree view, click the Authentication node.
-
Click View | Node editor on the menu bar.
-
In the node editor view, perform the following actions:
-
In the Authentication type selection list, select Allow all manual modules.
-
Enter a unique ID for the node in the Control ID field.
-
(Optional) In the Authentication properties field, enter the authentication properties.
-
(Optional) Enable the Product option and select the product from the list.
-
Click Save on the menu bar.
To allow single sign-on
-
On the menu bar, click View | Navigation.
-
Click API projects in the navigation.
-
In the tree structure, double-click the API project to be edited.
-
In the definition tree view, open the Authentication node.
-
Right-click the Authentication modules for single sign-on node.
-
Click Authentication module in the context menu.
The Authentication module node is placed as a child to the node.
-
Click the Authentication module node.
-
Click View | Node editor on the menu bar.
-
In the node editing view, select the required authentication module from the Name selection list. For more information about the authentication modules, see the One Identity Manager Configuration Guide.
-
Click Save on the menu bar.
Log in with stored login data
To approve a login with stored login data, perform the following two steps:
-
Store the login data for the users for whom you want to allow access in the web.config file of each API server.
-
Configure the authentication in the API Designer for the API project.
To store login data in the API Server
- Connect to your API Server.
-
Open the web.config file in a text editor.
NOTE: If the file is encrypted, you must decrypt it before editing.
-
In the <connectionStrings> section, add the following entry:
<add name="sub:<NAME>" connectionString="Module=DialogUser;User=<USER>;(Password)Password=<PASSWORD>" />
-
<NAME> stands for the name/ID of the API project.
-
<USER> stands for the login name of the user.
-
<PASSWORD> stands for the user's password.
-
Save your changes to the file.
-
(Optional) encrypt the file.
To configure the login with the saved login data on the API project
-
Start the API Designer.
-
On the menu bar, click View | Navigation.
-
Click API projects in the navigation.
-
In the tree structure, double-click the API project to be edited.
-
In the definition tree view, click the Authentication node.
-
Click View | Node editor on the menu bar.
-
In the node editor view, perform the following actions:
-
In the Authentication type selection list, select Fixed credentials.
-
Enter a unique ID for the node in the Control ID field.
-
(Optional) In the Authentication properties field, enter the authentication properties.
-
(Optional) Enable the Product option and select the product from the list.
-
Click Save on the menu bar.
Related topics