Skip to content

Instantly share code, notes, and snippets.

@atishn
Created August 1, 2014 19:19
Show Gist options
  • Save atishn/5f9477c8bcad40a45f53 to your computer and use it in GitHub Desktop.
Save atishn/5f9477c8bcad40a45f53 to your computer and use it in GitHub Desktop.
Java Melody Spring Configuration
<http auto-config="true" use-expressions="true">
<intercept-url pattern="/monitoring/**" access="hasRole('ROLE_ADMIN')" />
<intercept-url pattern="/**" access="hasAnyRole('ROLE_ADMIN, 'ROLE_USER'')" />
</http>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment