Created
October 10, 2011 14:26
-
-
Save rashidi/1275452 to your computer and use it in GitHub Desktop.
Enable Authorization For Spring Insight
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
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>Random Writings Insight</web-resource-name> | |
<url-pattern>/*</url-pattern> | |
</web-resource-collection> | |
<auth-constraint> | |
<role-name>insight_admin</role-name> | |
</auth-constraint> | |
</security-constraint> | |
<login-config> | |
<auth-method>BASIC</auth-method> | |
<realm-name>Insight</realm-name> | |
</login-config> | |
<security-role> | |
<description>Random Writings Insight Admin</description> | |
<role-name>insight_admin</role-name> | |
</security-role> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment