Last active
November 8, 2018 09:05
-
-
Save lurodrig/deb2e086fa425f2d64111b325caf1b96 to your computer and use it in GitHub Desktop.
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
<web-app> | |
<module-name>login-module</module-name> | |
<servlet> | |
<servlet-name>RedirectServlet</servlet-name> | |
<servlet-class>cross.context.test.suite.RedirectServlet</servlet-class> | |
</servlet> | |
<servlet-mapping> | |
<servlet-name>RedirectServlet</servlet-name> | |
<url-pattern>/redirect</url-pattern> | |
</servlet-mapping> | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>protected module</web-resource-name> | |
<url-pattern>/*</url-pattern> | |
</web-resource-collection> | |
<auth-constraint> | |
<role-name>manager</role-name> | |
</auth-constraint> | |
</security-constraint> | |
<security-role> | |
<role-name>manager</role-name> | |
</security-role> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment