Skip to content

Instantly share code, notes, and snippets.

@ddossot
Created September 22, 2012 00:45
Show Gist options
  • Save ddossot/3764698 to your computer and use it in GitHub Desktop.
Save ddossot/3764698 to your computer and use it in GitHub Desktop.
Mule OAuth2 Sample Resource Protection
<flow name="publicProfile">
<http:inbound-endpoint address="http://localhost:8080/api/profile/self" />
<oauth2-provider:validate scopes="READ_PROFILE" />
<component class="org.mule.modules.security.examples.oauth2.ProfileLookupComponent" />
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment