Created
November 5, 2014 14:17
-
-
Save dvirgiln/1d88a0ae6c814b0713f4 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
<?xml version="1.0"?> | |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | |
version="2.5"> | |
<distributable/> | |
<display-name>OverlordIDP</display-name> | |
<session-config> | |
<!-- The SSO session lasts for 8 hours --> | |
<session-timeout>480</session-timeout> | |
</session-config> | |
<filter> | |
<filter-name>IDPFilter</filter-name> | |
<filter-class>org.picketlink.identity.federation.web.filters.IDPFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>IDPFilter</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> | |
<!-- Define a security constraint that gives unlimted access to images --> | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>Resources</web-resource-name> | |
<url-pattern>/resources/*</url-pattern> | |
</web-resource-collection> | |
</security-constraint> | |
<!-- Define a Security Constraint on this Application --> | |
<security-constraint> | |
<web-resource-collection> | |
<web-resource-name>Manager command</web-resource-name> | |
<url-pattern>/*</url-pattern> | |
</web-resource-collection> | |
<auth-constraint> | |
<role-name>overlorduser</role-name> | |
</auth-constraint> | |
</security-constraint> | |
<!-- Define the Login Configuration for this Application --> | |
<login-config> | |
<auth-method>FORM</auth-method> | |
<realm-name>OverlordRealm</realm-name> | |
<form-login-config> | |
<form-login-page>/login.html</form-login-page> | |
<form-error-page>/login-error.html</form-error-page> | |
</form-login-config> | |
</login-config> | |
<!-- Security roles referenced by this web application --> | |
<security-role> | |
<role-name>overlorduser</role-name> | |
</security-role> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment