[ http://issues.apache.org/jira/browse/AXIS2-1535?page=all ]
Ruchith Udayanga Fernando resolved AXIS2-1535.
----------------------------------------------
Resolution: Fixed
Thanks for the patch ...
I realized that I had made a mistake by adding authentication logic into the
service. This is because the authentication happens at the callback handler.
Please see : org.apache.rampart.samples.sample03.PWCBHandler
Note the pwcb.getUsage() == WSPasswordCallback.USERNAME_TOKEN_UNKNOWN case.
I removed the extra auth logic from the service and add your changes to the
README.txt
> Some of Rampart samples throws exception
> ----------------------------------------
>
> Key: AXIS2-1535
> URL: http://issues.apache.org/jira/browse/AXIS2-1535
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: samples
> Affects Versions: 1.1
> Environment: WinXP Professional, JRE 1.5.0_01, Axis2 1.1 SVN (rev:
> 468353)
> Reporter: Ali Sadik Kumlali
> Priority: Minor
> Attachments: samples_security_patch.txt
>
>
> I ran across some problems while running Basic samples of Rampart and will
> attach a patch to get rid of them.
> Details
> ----------
> 1) SimpleService of sample03 still uses setOperationContext() which is not
> supported anymore due to [1].
> 2) xalan-2.7.0.jar is needed for sample04 (and *maybe* for subsequent
> samples), if JDK 1.5 is used.
> [1] http://issues.apache.org/jira/browse/AXIS2-1224
> Regards,
> Ali Sadik Kumlali
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]