Introduction
WSS4J 1.5.x can be used for securing web
services deployed in virtually any application server, but it includes
special support for Axis. WSS4J 1.5.x ships with handlers that can be used in
Axis-based web
services for an easy integration. These handlers can be added to the
service deployment
descriptor (wsdd file) to add a WS-Security layer to the web service.
This is a step by step tutorial for deploying a simple service with
Username Token.
Prerequisites
Axis
1.2 installed and configured on a
Tomcat Server. This
tutorial was performed on a Linux machine with Tomcat 5.5.4/Java 1.5.0,
however, the setup should be similar on other application servers, or
other operating systems (like Windows) unless we stated otherwise.