Hi Cappa; AFAIK you can't secure just a mediator with the available templates to support WS-Security.
But - to cater your specific requirement - you can easily write a BasicAuth mediator. Also - another way of protecting HTTP requests is through 2-legged OAuth. Next version of WSO2 ESB ships with an OAuth mediator to handle this. Thanks & regards. -Prabath Cappa Roberto wrote: > Hi, I need to mediate and secure a normal HTTP request. I tried the routing > with the ESB mediator, without success (see > http://wso2.markmail.org/search/list:org.wso2.carbon-dev#query:list%3Aorg.wso2.carbon-dev+page:1+mid:iaoz74elfwomjafb+state:results), > but now I'm evaluating the second problem: the possibility to add security > (for example basic authentication) to this mediator. First question is: can > I add security to ESB mediators? Based on the options offered by the admin > console, I think the answers is no (only proxies can have authentication). By > the way, is there any workaroud to obtain this goal (for example by STS or > Identity server)? > > Thanks > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > _______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
