Skip to content

Instantly share code, notes, and snippets.

@johndemic
Created April 26, 2012 16:22
Show Gist options
  • Save johndemic/2500712 to your computer and use it in GitHub Desktop.
Save johndemic/2500712 to your computer and use it in GitHub Desktop.
<mule-ss:security-manager>
<mule-ss:delegate-security-provider name="memory-dao" 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="john" password="password" authorities="ROLE_ADMIN"/>
<ss:user name="anon" password="anon" authorities="ROLE_ANON"/>
</ss:user-service>
</ss:authentication-provider>
</ss:authentication-manager>
</spring:beans>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment