Configuring web service binding for SCA transport layer authentication

Use this task to specify abstract intents in the Service Component Architecture (SCA) composite file to achieve a quality of service for a service or reference. These intents must be mapped to policy sets that can satisfy the intents during deployment.

Before you begin

Before you begin this task, install Service Component Architecture (SCA) application.

About this task

Intents and policy sets can be used to configure web service bindings to achieve quality of services (QoS).

Procedure

  1. Configure administrative and application security for the server.

    In order to secure the service so that it only accepts secure requests, and for the service to require authentication, administrative and application security must be enabled for the server. See Securing JAX-WS web services using message-level security.

  2. Configure the service to require transport authentication by specifying the authentication.transport intent on the <binding.ws> element.
    A component service can be configured to require transport authentication by specifying the "authentication.transport" intent on the <binding.ws> element.
    <service name="AccountService">
      <binding.ws 
         requires="authentication.transport"
         ... />
    </service>
  3. Configure the client to send a username and password by attaching the WSHTTPS default policy set to the <binding.ws> element.

    The wsPolicySet attribute can be used to specify policy sets at the composite, component, service, reference, and binding.ws levels in the SCA composite file. The actual attachment happens only at the binding.ws level and policy sets specified at other levels are inherited down to the binding level. For additional information on attaching policy sets to the <binding.ws> element and the inheritance rules, refer to mapping abstract intent to policy sets.

    After the policy set is attached to the client reference, it also requires assigning a client policy binding with the username and password provided in the HTTP transport binding to send with the request. Complete this task using the topic, configuring the HTTP transport policy, to configure the HTTP transport binding to provide username and password. To assign policy set bindings, see the topic, defining and managing policy set bindings.

Results

When you finish this task, you have configured web service binding to do SCA transport layer authentication.

What to do next

You can proceed to configuring other application specific bindings for your policy sets.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 4:16:02 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-dist&topic=twbs_sca_wsbind_tran_auth
File name: twbs_sca_wsbind_tran_auth.html