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

Robert Lazarski commented on AXIS2-5985:
----------------------------------------

For basic auth from your client you need to use the 'Authorization:Basic' HTTP 
header with a base64 of username:password. Postman for example, has some docs 
on how it manages basic auth.  

The article you pasted doesn't use basic auth though and the source for it is 
only a client. Do you already have a REST service and you are trying to enforce 
authentication?

Implementing basic auth on the server varies but it generally involves 
configuration changes to the webapp web.xml. 

 

 

> 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