WAS v8.5 > Develop applications > Develop web services - Security (WS-Security) > Configure Web Services Security during application assembly > Configure XML basic authentication for v5.x web services with an assembly tool

Secure web services for v5.x applications using basic authentication

With the basic authentication (BasicAuth) authentication method, the request sender generates a BasicAuth security token using a callback handler. The request receiver retrieves the BasicAuth security token from the SOAP message and validates it using a Java Authentication and Authorization Service (JAAS) login module. Trust is established using user name and password validation. There is an important distinction between v5.x and v6.0.x and later applications. The information in this article supports v5.x applications only used with WebSphere Application Server v6.0.x and later. The information does not apply to v6.0.x and later applications.

WAS provides several different methods to secure the web services. BasicAuth authentication is one of these methods. You might also secure the web services using any of the following methods:

To use BasicAuth authentication to secure web services, complete the following tasks:

  1. Secure the client for BasicAuth authentication.

    1. Configure the client for basic authentication: specifying the method
    2. Configure the client for basic authentication: collecting the authentication information

  2. Secure the server for BasicAuth authentication.

    1. Configure the server to handle basic authentication
    2. Configure the server to validate basic authentication information


Results

After completing these steps, we have secured the web services using BasicAuth authentication.


Related concepts:

Secure web services
BasicAuth authentication method


Related


Configure the client for basic authentication: specifying the method
Configure the client for basic authentication: collecting the authentication information
Configure the server to handle basic authentication information
Configure the server to validate basic authentication information


+

Search Tips   |   Advanced Search