-
Book Overview & Buying
-
Table Of Contents
Service Oriented Java Business Integration
The security in ServiceMix can be configured at multiple levels and at multiple layers. In this section we will demonstrate a simple security configuration for the servicemix-http component. We will configure HTTP basic authentication and as per that, when a client tries to access a resource marked as protected in the server, the server prompts for a username and password combination. This is followed by the browser prompting with a username and password entry form where the user can enter the relevant information and submit.
The setup of components for the sample use case is shown in the following figure:

The security sample use case will have servicemix-http configured in the consumer role, listening for HTTP transport for a particular port. We then configure an Echo service component as the targetService for the above HTTP consumer. When doing so, we also tell that the HTTP basic authentication has to be applied. An external HTTP client...
Change the font size
Change margin width
Change background colour