- Security Manager in Apinizer requests Plain-Text type authentication information from API Client. If this authentication information is correct, proceed to field number two.
- Apinizer makes a request to Backend API.
- Backend API responds to Apinizer.
- Apinizer responds to API Client.

Creating API Proxy




- The Usage field specifies who will use the created API Proxy. Options such as publisher, consumer, publisher and consumer are available here.
- There are two different options under the Protocol Transformation tab;
- Pass-Through SOAP allows the SOAP web service to be used as is without performing any transformation operations on the web service.
- REST to SOAP to REST allows this SOAP web service to be used in a structure that will include REST architecture.
- One or both of the two API addresses under the Addresses tab can be selected. If both addresses are selected, Apinizer will perform the Load Balance operation itself.
- Relative Path is the address where the created API Proxy will be opened for access.
- The Category List field also allows categorization of the created API Proxy.


- Policies to be added with the All expression above these methods can be applied to all methods.
- The created API Proxy is deployed. For this, click the Deploy button in the middle section above.

Creating Credentials
The information for the Credential to be added will be username = apinizer, password = 123123aA. For this, go to the Identity Management menu. Here, click the Credentials menu under the Credential Management menu.





Adding Authentication Policy
The Plain-Text Authentication policy can now be added. Go to the page where API Proxies are listed and select the proxy named Calculator from here. Then go to the Develop tab and click the Add Policy button. On the opened page, the Plain-Text Authentication policy is selected.
- The value to be selected in the Identity/Role/Group Service field is the Security Manager value. Because credentials control will be performed by Security Manager.
- The Variable for username and variable for password expressions also select which variable the username and password information will be retrieved with. In this scenario, these values will be retrieved from header.
- If the Clear Authentication Information option is selected, authentication information in the incoming message is deleted.
- The Add Client Info To Header option specifies whether client information will be present in the Header going to the backend API.
- If this option becomes active, another parameter named Authenticated User Header Name appears.
- The X-Authenticated-UserId expression here specifies the header name with which the client information going to the backend API will go.


Testing the API Proxy
After selecting the Add method, click the Test Method button.




