I'm guessing that there is a way to use Rampart programmatically instead of declaratively, but I've never felt the need to do that. Is there a particular reason you'd like to avoid using deployment descriptors? [ May 18, 2007: Message edited by: Ulf Dittmer ]
I have a front-end website which consumes the services so when a user inputs a username and password it is saved in a session bean and bundled with each request. Hence the 'user.getUserName()' from the snippet of code above.
Might there be a way of using descriptors for multiple users?
Joined: Mar 05, 2007
I'm attempting to use the following (based on the example 11 provided with Rampart 1.1), with no joy.
I can't find much information about this, although I'm actually receiving the same error when sending non-authenticated messages, so the problem may not be related directly to Rampart. (I originally had Axis2-1.2 running but I had to roll back to Axis2-1.1.1 due to Rampart compatibility).
[ May 21, 2007: Message edited by: Alan Sunley ] [ May 21, 2007: Message edited by: Alan Sunley ]