Configure the Custom properties policy
When working with policy sets in the console, we can customize policies to set generic properties that are not supported in other policy types. We must customize the Custom properties policy configuration because all properties within the policy are user-defined.
This console page applies only to JAX-WS applications.
We can configure generic properties that are not supported in other policy types with the Custom properties policy. These additional properties are set in the binding. The Custom properties policy provides an alternative way to set a binding property instead of using the JAX-WS programming model to set the property on the BindingProvider object. The CustomProperties binding is only supported for service clients.
After you have created a new policy set with the Custom properties policy added, create a Custom properties binding and add at least one custom property to configure the binding. A Custom properties binding type can be added to a general client binding or an application specific client binding. We cannot create an empty Custom properties binding. We must define at least one name and value pair within the binding.
In a mixed cell environment, the following limitations apply to attachments to policy sets containing CustomProperties policy:
- We must not create attachments to policy sets containing CustomProperties policy for applications that are deployed on an application server that is prior to WebSphere Application Server Version 8.0. The CustomProperties policy is only supported on WebSphere Application Server Version 8.0 and later.
- An application containing an attachment to a policy set containing CustomProperties policy must not be deployed on an application server that is prior to WebSphere Application Server Version 8.0.
- If an application that is deployed in a cluster environment contains an attachment to a policy set containing CustomProperties policy, we must not add a member application server that is prior to WebSphere Application Server Version 8.0 to the cluster.
.
- Create the Custom properties policy.
We cannot configure the Custom properties policy from this panel. Configure the Custom properties with a Custom properties binding.
- Navigate to the Application policy sets or the System policy sets From the console, click Services > Policy Sets > Application policy sets or Services > Policy Sets > System policy sets.
- Click the New... button.
- Enter a unique policy set name.
- Click the Add button and choose the Custom properties policy in the Policies table.
- Click the Apply button.
- Click the Save link.
- Customize the Custom properties bindings.
- Navigate to the Custom properties bindings. From the console, click Services > Policy Sets > General client policy set bindings > client_policy_set_binding_name.
- Click Add > Custom properties.
The Custom properties (bindings) window displays options for adding Custom properties bindings.
- Specify the properties for each custom property to add. The following fields are required:
- Name
- Displays the name of the custom property.
- Value
- Displays the value of the custom property.
The application specific bindings can be customized similarly, from the application policy set and bindings attachments panel.
Results
After you have customized the Custom properties policy, the associated policy set uses this policy to set generic properties that are not supported in other policy types.
Subtopics
- Policy set bindings settings for Custom properties
Use this page to view, define, or configure general bindings or application specific bindings, for the Custom properties policy.
Related tasks
Configure the SSL transport policy Add policies to policy sets using the administrative console Delete policies from policy sets using the administrative console Enable policies for policy sets using the administrative console Disable policies from policy sets using the administrative console Web services policies
Application policy sets collection Application policy set settings CustomProperties policy and binding properties