Default binding

The default binding information is defined in the ws-security.xml file and can be administered by either the administrative console or by scripting.

Certain applications can share certain binding information. This information includes truststores, keystores, and authentication methods (token validation). WebSphere Application Server provides support for default binding information. Administrators can define binding information at the server level and at the cell level, and applications can refer to this binding information.

You can define the following binding information in the ws-security.xml file:

Trust anchors (truststore)

Collection certificate store

Key locators

Trusted ID evaluators

Login mappings

WebSphere Application Server

In the WebSphere Application Server, each server has a copy of the ws-security.xml file (default binding information for Web services security). There is no cell-level copy of the ws-security.xml file, which is only available in the WebSphere Application Server Network Deployment installation. To navigate to the server-level default binding in the administrative console, complete the following steps:

  1. Click Servers > Application Servers > server1.

  2. Under Additional Properties, click Web Services: Default bindings for Web Services Security.

Web services security application-level bindings and server-level default binding information

Web services security run time uses the binding information in the application Enterprise JavaBeans (EJB) or Web module binding file (ibm-webservices-bnd.xmi or ibm-webservicesclient-bnd.xmi if Web services is acting as a client on the server) if the binding information is defined in the application-level binding file. For example, if key locator K1 is defined in both the application-level binding file and the default binding file (ws-security.xml), the K1 in the application-level binding file is used.

WebSphere Application Server Network Deployment

When the WebSphere Application Server is federated to a Network Deployment cell, the default binding file (ws-security.xml) of the server is added to the new cell (with other server level configuration information). If you use the cell-level default binding, the entries of the server level default binding must be removed.

There is a cell-level default binding (ws-security.xml) for Network Deployment installation. Furthermore, for Network Deployment installation server-level binding is optional. To navigate to the cell-level default binding in the administrative console, click Security > Web Services. The server-level binding is described in WebSphere Application Server.
Web services security application-level, cell-level, and server-level default binding information

The order of the default binding information is application-level binding, server-level, and cell-level default binding.


Related concepts
Trust anchors
Collection certificate store
Key locator
Trusted ID evaluator
Login mappings
BasicAuth authentication method
Identity assertion authentication method
Signature authentication method
Lightweight Third Party Authentication
Related reference
Default configuration for WebSphere Application Server Network Deployment
Web services: default bindings for the Web services security collection
Web Services: Client security bindings collection
Web services: Server security bindings collection