Michael

On 1/8/07, Michael Buchholz (JIRA) <[EMAIL PROTECTED]> wrote:

     [ 
https://issues.apache.org/jira/browse/SYNAPSE-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Buchholz updated SYNAPSE-50:
------------------------------------

    Attachment: BasicAuthenticationMediator.zip

> HTTP Basic Authentication mediator
> ----------------------------------
>
>                 Key: SYNAPSE-50
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-50
>             Project: Synapse
>          Issue Type: Improvement
>          Components: extensions
>            Reporter: Michael Buchholz
>            Priority: Minor
>         Attachments: BasicAuthenticationMediator.zip
>
>
> Hi,
> the attached mediator can be used to validate HTTP Basic Authentication 
headers within a try block.
> Here“s an example usage:
> <try>
>         <sequence>
>           <class name="de.subnatural.synapse.BasicAuthenticationMediator">
>             <property name="reqUsername" value="bob"/>
>             <property name="reqPassword" value="ross"/>
>           </class>
>         </sequence>
>         <onError>
>           <makefault>
>             <code value="tns:Receiver" 
xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
>             <reason value="Authorization failed!"/>
>           </makefault>
>           <send/>
>         </onError>
>       </try>
> Feel free to change package name etc. if you would like to include it as a 
standard mediator.
> Cheers,
> Michael

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://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]




--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]

"Oxygenating the Web Service Platform", www.wso2.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to