Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop web services - Security (WS-Security) > Develop applications that use Web Services Security > Develop message-level security for JAX-WS web services > Secure web services applications using the WSS APIs at the message level
Secure messages at the response consumer using WSS APIs
We can secure SOAP messages with signature verification, decryption, and consumer tokens to protect message integrity, confidentiality, and authenticity, respectively. The response consumer (client-side) configuration defines the Web Services Security requirements for the incoming SOAP response.
To secure web services with WAS, configure the generator and the consumer security constraints. We must specify several different configurations. Although there is no specific sequence to specify these different configurations, some configurations reference other configurations. For example, decryption configurations reference encryption configurations.
The response consumer (client-side) configuration requirements involve verifying that the integrity parts are signed and that the signature is verified, verifying that the required confidential parts are encrypted and that the parts are decrypted; and validating the security tokens.
We can use the following methods to configure Web Services Security and to define policy types to secure the SOAP messages:
- Use the admin console to configure policy sets.
- Use the Web Services Security APIs (WSS API) to configure the SOAP message context (only for the client)
The following high-level steps use the WSS APIs:
Procedure
- Verify signing to protect message integrity.
- Configure decryption to protect message confidentiality.
- Validate consumer tokens to protect message authenticity.
Results
After completing these procedures, we have secured messages at the response consumer level.
What to do next
Next, if not already configured, secure messages with signing information, encryption, and generator tokens at the response (client-side) generator level.
Related
Configure decryption methods to protect message confidentiality using the WSS APIs
Verify consumer signing information to protect message integrity using WSS APIs
Validate the consumer token to protect message authenticity
Secure messages at the request generator using WSS APIs
Secure web services applications using the WSS APIs at the message level