[ 
https://issues.apache.org/jira/browse/AXIS2-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17209644#comment-17209644
 ] 

JustJoinedJava edited comment on AXIS2-5985 at 10/7/20, 3:55 PM:
-----------------------------------------------------------------

Hi [~robertlazarski]

 

Thanks for the response, I am finally able to use Axis2 1.7.1 and Rampart 
1.7.1. But the problem arises that when I am running the code in debug mode, 
passwordcallbackhandler implemented is not getting called. I am using postman 
as the client for now and could see that in spite of the fact that I 
implemented security using WSS4j CallbackHandler, I could see that I am able to 
make the rest call without providing credentials.

 

Could you please guide me here as what am I might be missing. Please let me 
know if you need to see the code snippet, though I have kept it really simple 
and mostly followed the steps mentioned in the link below:

[http://fazlansabar.blogspot.com/2012/04/ws-security-with-apache-rampart-part-13.html]

 

Thanks for all your time and help.


was (Author: justjoinedjava):
Hi Robert

 

Thanks for the response, I am finally able to use Axis2 1.7.1 and Rampart 
1.7.1. But the problem arises that when I am running the code in debug mode, 
passwordcallbackhandler implemented is not getting called. I am using postman 
as the client for now and could see that in spite of the fact that I 
implemented security using WSS4j CallbackHandler, I could see that I am able to 
make the rest call without providing credentials.

 

Could you please guide me here as what am I might be missing. Please let me 
know if you need to see the code snippet, though I have kept it really simple 
and mostly followed the steps mentioned in the link below:

[http://fazlansabar.blogspot.com/2012/04/ws-security-with-apache-rampart-part-13.html]

 

Thanks for all your time and help.

> Axis2 web service using as rest endpoint, need to implement security
> --------------------------------------------------------------------
>
>                 Key: AXIS2-5985
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5985
>             Project: Axis2
>          Issue Type: Task
>          Components: jaxws
>            Reporter: JustJoinedJava
>            Priority: Major
>
> I am using existing Axis2 web service (i.e. SOAP) as rest endpoints and I am 
> able to do it. But now I need to implement security, can somebody please 
> guide as rampart and rahas has lot of issues, I am not even able to implement 
> basic auth\usernametoken using it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to