This section describes how to configure Web services policy-based security.
Before you create instances of policies, you must have at least one user and/or one group, to associate to that instance. You can create users and groups using iWay Explorer integrated with iWay Designer.
To create a user:
The Web Services pane opens.
The New User dialog box opens.
The new user is added to the Users folder, as shown in the following image.
You are now ready to create a group to associate with a policy.
To modify the properties for a user:
The Edit User dialog box opens, as shown in the following image.
To delete a user:
The user is removed from the Users folder.
To create a group:
The New Group dialog box opens.
The Select User pane opens, as shown in the following image.
The new group is added to the Groups folder, as shown in the following image.
You are now ready to create a security policy.
To modify the properties for a group:
The Group dialog box opens, as shown in the following image.
To delete a group:
The group is removed from the Groups folder.
An execution policy is a policy type, which is uniquely named, associated with users and groups, and is applied to the Web service. It determines whether a user or group has permission to execute a Web service.
To create an execution policy:
The New Policy dialog box opens.
The Define Group/User pane opens, as shown in the following image.
Note: This user ID is checked against the value in the user ID element of the SOAP header sent to iBSP in a SOAP request.
The Define Execution pane opens, as shown in the following image.
The new policy is added to the Policies folder, as shown in the following image.
To modify the properties for a policy:
The Policy dialog box opens, as shown in the following image.
To delete a policy:
The policy is removed from the Policies folder.
You can configure iBSP to use policies that control access from a single IP address, a group of IP addresses, or all addresses within a particular domain.
Note: By default, all IP and domains are denied access.
To configure IP and domain restrictions:
The New IP and Domain Name and Description dialog box opens.
The new IP and domain restriction is added to the IP and Domain folder, as shown in the following image.
To modify the properties for an IP and domain restriction:
The IP and Domain Restriction dialog box opens, as shown in the following image.
To delete an IP and domain restriction:
The IP and domain restriction is removed from the IP and Domain folder.
Once you have created a policy using iWay Explorer, you must add this policy to a service or method. This section describes how to add a policy to a service:
The Edit Service dialog box opens.
The new policy is added to the service.
Once you have created a policy using iWay Explorer, you must add this policy to a service or method. This section describes how to add a policy to a method:
The Edit Method dialog box opens.
The new policy is added to the method.
If Web services policy-based security is enabled, information for the SOAP header must be provided for each Web service. This may or may not be a manual process. The Web service client that is used can provide the information that is required.
The following is a sample SOAP header that is included in the WSDL file for a Web service:
<SOAP-ENV:Header> <m:ibsinfo xmlns:m="urn:schemas-iwaysoftware-com:iwse"> <m:service>String</m:service> <m:method>String</m:method> <m:license>String</m:license> <m:disposition>String</m:disposition> <m:Username>String</m:Username> <m:Password>String</m:Password> <m:language>String</m:language> </m:ibsinfo> </SOAP-ENV:Header>
The following parameters are included in the SOAP header:
Note: This parameter is not required.
Note: This parameter is not required.
iWay Software |