Network Deployment (Distributed operating systems), v8.0 > Secure applications and their environment > Secure web services > Secure web services > Web Services Security concepts > Web Services Security concepts > Web Services Security provides message integrity, confidentiality, and authentication > High-level architecture for Web Services Security


Security model mixture

There can be multiple protocols and channels in the WAS v6 and later programming environments. Each of these applications serve different business needs.

For example, you might access:

More importantly, web services are often implemented as servlets with a EJB file. Therefore, you can mix and match the Web Services Security model with the Java EE security model for web and EJB components. It is intended that web service security complement the Java EE role-based security and the security run time for WAS v6 and later.

Web Services Security also can take advantage of the security features in Java EE and the security run time for WAS Version 6 and later. For example, Web Services Security can use the following security features to provide an end-to-end security deployment:

The following figure shows that different security protocols are used to send authentication information to the application server. For a web service, you might use either HTTP basic authentication with SSL or a Web Services Security username token with signing and encryption. In the following figure, when identity bob from Web Services Security is authenticated and set as the caller identity of the SOAP message request, the Java EE EJB container performs authorization using bob before the call is dispatched to the service implementation, which, in this case, is the enterprise bean.

We can secure a web service using the transport layer security. For example, when you are using SOAP over HTTP, HTTPS can be used to secure the web service. However, transport layer security provides point-to-point security only. This layer of security might be adequate for certain scenarios. However, when the SOAP message must travel through intermediary servers (multi-hop) before it is consumed by the target endpoint, you might use SOAP over the JMS. The usage scenarios and security requirements dictate how to secure web services. The requirements depend upon the operating environment and the business needs. However, one key advantage of using Web Services Security is that it is transport layer independent; the same Web Services Security constraints can be used for SOAP over HTTP, SOAP over JMS, or SOAP over RMI/IIOP.
High-level architecture for Web Services Security

+

Search Tips   |   Advanced Search