Secure web services for Version 5.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 by using user name and password validation.
Important: There is an important distinction between Version 5.x and Version 6.0.x and later applications. The information supports Version 5.x applications only used with WAS v6.0.x and later. The information does not apply to Version 6.0.x and later applications.
WebSphere Application Server provides several different methods to secure the web services. BasicAuth authentication is one of these methods. We might also secure the web services using any of the following methods:
- XML digital signature
- XML encryption
- BasicAuth authentication
- Identity assertion authentication
- Signature authentication
- Pluggable token
To use BasicAuth authentication to secure web services, complete the following tasks:
- Secure the client for BasicAuth authentication.
- Configure the client for basic authentication: specifying the method
- Configure the client for basic authentication: collecting the authentication information
- Secure the server for BasicAuth authentication.
Results
After completing these steps, we have secured the web services using BasicAuth authentication.
Related concepts
Secure web services BasicAuth authentication method
Related tasks
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