Hi Oliver

... i've the following example on this list but i cannot find anywhere a documentation relating to the roleBasedRouting mediator.
This looks like a custom mediator developed by one of the users Jens Goldhammer.. so he has to reply to this mail and let you know if he is willing to share that code or donate it to the project for inclusion..

asankha
<syn:proxy name="GooglemapsProxy" transports="https http" startOnLoad="true" statistics="enable" trace="enable" onError="myFaultHandler">
       <syn:target>
           <syn:inSequence>
                   <syn:log level="full" separator=","/>
                   <syn:roleBasedRouting>
<!-- possible values are: http-header, ws-security -->
                           <syn:authentificationType>
                               ws-security
                           </syn:authentificationType>
<!-- possible values are: jdbc, ldap, acegi-security !!!ONLY IMPLEMENTED JDBC!!!-->
                           <syn:realm type="jdbc">
                               <syn:driverurl>
                                   jdbc:derby:UserDatabase;create=true
                               </syn:driverurl>
                               <syn:drivername>
                                   org.apache.derby.jdbc.EmbeddedDriver
                               </syn:drivername>
                               <syn:username>wso2esb</syn:username>
                               <syn:password>wso2esb</syn:password>
                           </syn:realm>
                   </syn:roleBasedRouting>
               <syn:header name="wsse:Security" action="remove"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
               <syn:log level="full" separator=","/>
               <syn:send>
<syn:endpoint key="endpoints/googlemaps_endpoint.xml"/>
               </syn:send>
           </syn:inSequence>
           <syn:outSequence>
               <syn:log level="full" separator=","/>
               <syn:send/>
           </syn:outSequence>
       </syn:target>
       <syn:publishWSDL key="WSDL/GoogleMapsService.wsdl"/>
       <syn:policy key="policy/policy_1.xml"/>
       <syn:enableSec/>
   </syn:proxy>



Reply via email to