Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 11:53:50 -0500 (Tue, 21 Feb 2012)
New Revision: 1422
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/
federation/trunk/picketlink-webapps/as7/idp-sig/pom.xml
federation/trunk/picketlink-webapps/as7/idp-sig/src/
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/context.xml
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/context.xml
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/jboss-web.xml
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/web.xml
Modified:
federation/trunk/picketlink-webapps/as7/assembly/bin.xml
federation/trunk/picketlink-webapps/as7/pom.xml
Log:
add idp-sig to as7 webapps
Modified: federation/trunk/picketlink-webapps/as7/assembly/bin.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/assembly/bin.xml 2012-02-21 16:47:18 UTC (rev
1421)
+++ federation/trunk/picketlink-webapps/as7/assembly/bin.xml 2012-02-21 16:53:50 UTC (rev
1422)
@@ -10,6 +10,11 @@
<fileMode>0444</fileMode>
</file>
<file>
+ <source>${basedir}/../idp-sig/target/idp-sig.war</source>
+ <outputDirectory>picketlink</outputDirectory>
+ <fileMode>0444</fileMode>
+ </file>
+ <file>
<source>${basedir}/../sales/target/sales.war</source>
<outputDirectory>picketlink</outputDirectory>
<fileMode>0444</fileMode>
Added: federation/trunk/picketlink-webapps/as7/idp-sig/pom.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/pom.xml (rev
0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/pom.xml 2012-02-21 16:53:50 UTC (rev
1422)
@@ -0,0 +1,38 @@
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <groupId>org.picketlink</groupId>
+ <artifactId>picketlink-federation-webapps-as7</artifactId>
+ <version>2.0.2-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>idp-sig-as7</artifactId>
+ <packaging>war</packaging>
+ <name>PicketLink Federation Identity Provider</name>
+ <
url>http://labs.jboss.org/portal/picketlink/</url>
+ <description>PicketLink Samples contains the samples for Federated Identity
Needs.</description>
+ <licenses>
+ <license>
+ <name>lgpl</name>
+ <
url>http://repository.jboss.com/licenses/lgpl.txt</url>
+ </license>
+ </licenses>
+ <organization>
+ <name>JBoss Inc.</name>
+ <url>http://www.jboss.org</url>
+ </organization>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <warName>idp-sig</warName>
+ <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/context.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/context.xml
(rev 0)
+++
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/context.xml 2012-02-21
16:53:50 UTC (rev 1422)
@@ -0,0 +1,8 @@
+<Context>
+ <Valve
+ className="org.picketlink.identity.federation.bindings.tomcat.idp.IDPSAMLDebugValve"
/>
+ <Valve
+ className="org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve"
+ signOutgoingMessages="false"
+ ignoreIncomingSignatures="true"/>
+</Context>
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml
===================================================================
---
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml
(rev 0)
+++
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml 2012-02-21
16:53:50 UTC (rev 1422)
@@ -0,0 +1,10 @@
+<jboss-deployment-structure>
+
+ <deployment>
+ <!-- Add picketlink module dependency -->
+ <dependencies>
+ <module name="org.picketlink" />
+ </dependencies>
+ </deployment>
+</jboss-deployment-structure>
+
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/context.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/context.xml
(rev 0)
+++
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/context.xml 2012-02-21
16:53:50 UTC (rev 1422)
@@ -0,0 +1,7 @@
+<Context>
+ <Valve
+ className="org.picketlink.identity.federation.bindings.tomcat.idp.IDPSAMLDebugValve"
/>
+ <Valve
+ className="org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve"
+ ignoreIncomingSignatures="false" />
+</Context>
\ No newline at end of file
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/jboss-web.xml
(rev 0)
+++
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/jboss-web.xml 2012-02-21
16:53:50 UTC (rev 1422)
@@ -0,0 +1,11 @@
+<jboss-web>
+ <security-domain>idp</security-domain>
+ <valve>
+
<class-name>org.picketlink.identity.federation.bindings.tomcat.idp.IDPWebBrowserSSOValve</class-name>
+ <param>
+ <param-name>ignoreIncomingSignatures</param-name>
+ <param-value>false</param-value>
+ </param>
+ </valve>
+
+</jboss-web>
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
===================================================================
---
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
(rev 0)
+++
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml 2012-02-21
16:53:50 UTC (rev 1422)
@@ -0,0 +1,6 @@
+<Handlers xmlns="urn:picketlink:identity-federation:handler:config:1.0">
+ <Handler
class="org.picketlink.identity.federation.web.handlers.saml2.SAML2IssuerTrustHandler"/>
+ <Handler
class="org.picketlink.identity.federation.web.handlers.saml2.SAML2LogOutHandler"/>
+ <Handler
class="org.picketlink.identity.federation.web.handlers.saml2.SAML2AuthenticationHandler"/>
+ <Handler
class="org.picketlink.identity.federation.web.handlers.saml2.RolesGenerationHandler"/>
+</Handlers>
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
---
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
(rev 0)
+++
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml 2012-02-21
16:53:50 UTC (rev 1422)
@@ -0,0 +1,6 @@
+<PicketLinkIDP xmlns="urn:picketlink:identity-federation:config:1.0" >
+<IdentityURL>${idp.url::http://localhost:8080/idp/}</IdentityURL>
+<Trust>
+ <Domains>localhost,jboss.com,jboss.org,amazonaws.com</Domains>
+</Trust>
+</PicketLinkIDP>
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/web.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/web.xml 2012-02-21
16:53:50 UTC (rev 1422)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<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">
+
+ <display-name>IDP</display-name>
+ <description>
+ IDP Web Application for the PicketLink project
+ </description>
+
+ <!-- Define a security constraint that gives unlimted access to images -->
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>Images</web-resource-name>
+ <url-pattern>/images/*</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>manager</role-name>
+ <role-name>Sales</role-name>
+ <role-name>Employee</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <!-- Define the Login Configuration for this Application -->
+ <login-config>
+ <auth-method>FORM</auth-method>
+ <realm-name>PicketLink IDP Application</realm-name>
+ <form-login-config>
+ <form-login-page>/jsp/login.jsp</form-login-page>
+ <form-error-page>/jsp/login-error.jsp</form-error-page>
+ </form-login-config>
+ </login-config>
+
+ <!-- Security roles referenced by this web application -->
+ <security-role>
+ <role-name>manager</role-name>
+ </security-role>
+ <security-role>
+ <role-name>Sales</role-name>
+ </security-role>
+ <security-role>
+ <role-name>Employee</role-name>
+ </security-role>
+</web-app>
Modified: federation/trunk/picketlink-webapps/as7/pom.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/pom.xml 2012-02-21 16:47:18 UTC (rev 1421)
+++ federation/trunk/picketlink-webapps/as7/pom.xml 2012-02-21 16:53:50 UTC (rev 1422)
@@ -32,6 +32,7 @@
<module>sales-saml11</module>
<module>employee-saml11</module>
<module>idp</module>
+ <module>idp-sig</module>
<module>picketlink-sts</module>
<module>pdp</module>
<module>assembly</module>