Created
June 4, 2012 22:31
-
-
Save dhonig/2871214 to your computer and use it in GitHub Desktop.
endpoint configuration example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns:spring="http://www.springframework.org/schema/beans" xmlns:file="http://www.mulesoft.org/schema/mule/file" | |
xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:https="http://www.mulesoft.org/schema/mule/https" | |
xmlns:jdbc="http://www.mulesoft.org/schema/mule/jdbc" xmlns:jms="http://www.mulesoft.org/schema/mule/jms" | |
xmlns:vm="http://www.mulesoft.org/schema/mule/vm" xmlns:client="http://www.mulesoft.org/schema/mule/client" | |
xmlns:cxf="http://www.mulesoft.org/schema/mule/cxf" | |
xmlns:management="http://www.mulesoft.org/schema/mule/management" | |
xmlns:scripting="http://www.mulesoft.org/schema/mule/scripting" | |
xmlns:sxc="http://www.mulesoft.org/schema/mule/sxc" xmlns:xm="http://www.mulesoft.org/schema/mule/xml" | |
xmlns:netsuite="http://repository.mulesoft.org/releases/org/mule/modules/mule-module-netsuite" | |
xmlns:jersey="http://www.mulesoft.org/schema/mule/jersey" | |
xmlns:mule-ss="http://www.mulesoft.org/schema/mule/spring-security" | |
xmlns:ss="http://www.springframework.org/schema/security" | |
xsi:schemaLocation=" | |
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.2/mule.xsd | |
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/3.2/mule-file.xsd | |
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.2/mule-http.xsd | |
http://www.mulesoft.org/schema/mule/https http://www.mulesoft.org/schema/mule/https/3.2/mule-https.xsd | |
http://www.mulesoft.org/schema/mule/jdbc http://www.mulesoft.org/schema/mule/jdbc/3.2/mule-jdbc.xsd | |
http://www.mulesoft.org/schema/mule/jms http://www.mulesoft.org/schema/mule/jms/3.2/mule-jms.xsd | |
http://www.mulesoft.org/schema/mule/vm http://www.mulesoft.org/schema/mule/vm/3.2/mule-vm.xsd | |
http://www.mulesoft.org/schema/mule/client http://www.mulesoft.org/schema/mule/client/3.2/mule-client.xsd | |
http://www.mulesoft.org/schema/mule/cxf http://www.mulesoft.org/schema/mule/cxf/3.2/mule-cxf.xsd | |
http://www.mulesoft.org/schema/mule/management http://www.mulesoft.org/schema/mule/management/3.2/mule-management.xsd | |
http://www.mulesoft.org/schema/mule/scripting http://www.mulesoft.org/schema/mule/scripting/3.2/mule-scripting.xsd | |
http://www.mulesoft.org/schema/mule/sxc http://www.mulesoft.org/schema/mule/sxc/3.2/mule-sxc.xsd | |
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/3.2/mule-xml.xsd | |
http://www.mulesoft.org/schema/mule/jersey http://www.mulesoft.org/schema/mule/jersey/3.2/mule-jersey.xsd | |
http://repository.mulesoft.org/releases/org/mule/modules/mule-module-netsuite http://repository.mulesoft.org/releases/org/mule/modules/mule-module-zuora/2.0/mule-netsuite.xsd | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://www.mulesoft.org/schema/mule/spring-security http://www.mulesoft.org/schema/mule/spring-security/3.1/mule-spring-security.xsd | |
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd | |
"> | |
<description>Franklin Mint Order Management Orchestration</description> | |
<mule-ss:security-manager> | |
<mule-ss:delegate-security-provider name="memory-provider" delegate-ref="authenticationManager"/> | |
</mule-ss:security-manager> | |
<spring:beans> | |
<ss:authentication-manager alias="authenticationManager"> | |
<ss:authentication-provider> | |
<ss:user-service id="userService"> | |
<ss:user name="omx_user" password="omx_password" authorities="ROLE_ADMIN" /> | |
<ss:user name="anon" password="anon" authorities="ROLE_ANON" /> | |
</ss:user-service> | |
</ss:authentication-provider> | |
</ss:authentication-manager> | |
</spring:beans> | |
<flow name="securityTestEndpoint"> | |
<http:inbound-endpoint address="http://localhost:4567/foo_secured_endpoint" exchange-pattern="request-response"> | |
<mule-ss:http-security-filter realm="mule-realm"/> | |
</http:inbound-endpoint> | |
<append-string-transformer name="myAppender" message=" access to secured resource successful "/> | |
</flow> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment