Author: anil.saldhana(a)jboss.com
Date: 2009-11-21 00:02:46 -0500 (Sat, 21 Nov 2009)
New Revision: 1056
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/pom.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/META-INF/
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/META-INF/context.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/context.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/web.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/careermap.jpg
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/error.jsp
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/index.jsp
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/login.jsp
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/logout.jsp
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/pom.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/resources/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/resources/jbid_test_keystore.jks
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/META-INF/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/classes/
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/classes/jbid_test_keystore.jks
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-handlers.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/web.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/careermap.jpg
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/error.jsp
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/index.jsp
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/login.jsp
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/logout.jsp
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/META-INF/context.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/context.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/index.jsp
migration/picketlink/federation/trunk/picketlink-webapps/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
migration/picketlink/federation/trunk/picketlink-webapps/idp-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml
migration/picketlink/federation/trunk/picketlink-webapps/pom.xml
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/META-INF/context.xml
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/WEB-INF/context.xml
migration/picketlink/federation/trunk/picketlink-webapps/sales-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml
Log:
update webapps
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/META-INF/context.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/META-INF/context.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/META-INF/context.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,4 +1,4 @@
<Context>
- <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostFormAuthenticator"
+ <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
/>
</Context>
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/context.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/context.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/context.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,4 +1,4 @@
<Context>
- <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostFormAuthenticator"
+ <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
/>
</Context>
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,6 +1,6 @@
<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:1.0"
ServerEnvironment="tomcat">
<IdentityURL>http://localhost:8080/idp-sig/</IdentityURL>
- <ServiceURL>http://localhost:8080/sales-post-sig/</ServiceURL>
+ <ServiceURL>http://localhost:8080/employee-post-sig/</ServiceURL>
<KeyProvider
ClassName="org.picketlink.identity.federation.core.impl.KeyStoreKeyManager">
<Auth Key="KeyStoreURL" Value="/jbid_test_keystore.jks" />
<Auth Key="KeyStorePass" Value="store123" />
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/index.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/index.jsp 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-post-sig/src/main/webapp/index.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,13 +1,12 @@
<div align="center">
-<h1>SalesTool</h1>
+<h1>EmployeeDashboard</h1>
<br/>
-Welcome to the Sales Tool, <%=request.getUserPrincipal().getName()%>
+Welcome to the Employee Tool, <%=request.getUserPrincipal().getName()%>
<br/>
-Here is your sales chart:
+Here is your cartoon of the day:
<br/>
-<img src="piechart.gif"/>
-
+<img src="careermap.jpg"/>
<br/>
<a href="?GLO=true">Click to LogOut</a>
Added: migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/pom.xml
===================================================================
--- migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/pom.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/pom.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -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</artifactId>
+ <version>1.0.0.beta3-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>employee-sig</artifactId>
+ <packaging>war</packaging>
+ <name>PicketLink Federation Employee with HTTP-Redirect and
Signature</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.0.2</version>
+ <configuration>
+ <warName>employee-sig</warName>
+ <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/META-INF/context.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/META-INF/context.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/META-INF/context.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,3 @@
+<Context>
+ <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPRedirectSignatureFormAuthenticator"
/>
+</Context>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/context.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/context.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/context.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,3 @@
+<Context>
+ <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPRedirectSignatureFormAuthenticator"
/>
+</Context>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,6 @@
+<Handlers xmlns="urn:picketlink:identity-federation:handler:config:1.0">
+ <Handler
class="org.picketlink.identity.federation.web.handlers.saml2.SAML2SignatureValidationHandler"/>
+ <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.SAML2SignatureGenerationHandler"/>
+</Handlers>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,13 @@
+<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:1.0"
ServerEnvironment="tomcat">
+ <IdentityURL>http://localhost:8080/idp-sig/</IdentityURL>
+ <ServiceURL>http://localhost:8080/sales-sig/</ServiceURL>
+ <KeyProvider
ClassName="org.picketlink.identity.federation.core.impl.KeyStoreKeyManager">
+ <Auth Key="KeyStoreURL" Value="jbid_test_keystore.jks" />
+ <Auth Key="KeyStorePass" Value="store123" />
+ <Auth Key="SigningKeyPass" Value="test123" />
+ <Auth Key="SigningKeyAlias" Value="servercert" />
+ <ValidatingAlias Key="localhost" Value="servercert"/>
+ <ValidatingAlias Key="127.0.0.1" Value="servercert"/>
+ </KeyProvider>
+
+</PicketLinkSP>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/web.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/WEB-INF/web.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4"
+
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <description>Sales Application</description>
+
+ <security-constraint>
+ <display-name>Restricted</display-name>
+ <web-resource-collection>
+ <web-resource-name>Restricted Access</web-resource-name>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>Sales</role-name>
+ </auth-constraint>
+ <user-data-constraint>
+ <transport-guarantee>NONE</transport-guarantee>
+ </user-data-constraint>
+ </security-constraint>
+
+ <security-role>
+ <role-name>Sales</role-name>
+ </security-role>
+
+ <login-config>
+ <auth-method>FORM</auth-method>
+ <form-login-config>
+ <form-login-page>/login.jsp</form-login-page>
+ <form-error-page>/error.jsp</form-error-page>
+ </form-login-config>
+ </login-config>
+</web-app>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/careermap.jpg
===================================================================
(Binary files differ)
Property changes on:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/careermap.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/error.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/error.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/error.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,12 @@
+<html> <head> <title>Error!</title></head>
+<body>
+
+<font size='4' color='red'>
+ The username and password you supplied are not valid.
+</p>
+Click <a href='<%= response.encodeURL("login.jsp")
%>'>here</a>
+to retry login
+
+</body>
+</form>
+</html>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/index.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/index.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/index.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,13 @@
+<div align="center">
+<h1>EmployeeDashboard</h1>
+<br/>
+Welcome to the Employee Tool, <%=request.getUserPrincipal().getName()%>
+
+<br/>
+Here is your cartoon of the day:
+<br/>
+<img src="careermap.jpg"/>
+<br/>
+<a href="?GLO=true">Click to LogOut</a>
+
+</div>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/login.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/login.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/login.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,16 @@
+<html><head><title>Login Page</title></head>
+<body>
+<font size='5' color='blue'>Please Login</font><hr>
+
+<form action='j_security_check' method='post'>
+<table>
+ <tr><td>Name:</td>
+ <td><input type='text'
name='j_username'></td></tr>
+ <tr><td>Password:</td>
+ <td><input type='password' name='j_password'
size='8'></td>
+ </tr>
+</table>
+<br>
+ <input type='submit' value='login'>
+</form></body>
+ </html>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/logout.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/logout.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-sig/src/main/webapp/logout.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,4 @@
+<%
+ session.invalidate();
+%>
+You are logged out.
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/pom.xml
===================================================================
--- migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/pom.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/pom.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,39 @@
+<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</artifactId>
+ <version>1.0.0.beta3-SNAPSHOT</version>
+ <relativePath>../</relativePath>
+ </parent>
+
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>employee-standalone</artifactId>
+ <packaging>war</packaging>
+ <name>PicketLink Federation Employee Application that supports signature and
that is a simple web application that can be hosted on any web container</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.0.2</version>
+ <configuration>
+ <warName>employee-standalone</warName>
+ <webappDirectory>${basedir}/src/main/webapp/</webappDirectory>
+ <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/resources/jbid_test_keystore.jks
===================================================================
(Binary files differ)
Property changes on:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/resources/jbid_test_keystore.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/classes/jbid_test_keystore.jks
===================================================================
(Binary files differ)
Property changes on:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/classes/jbid_test_keystore.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-handlers.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-handlers.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-handlers.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,5 @@
+<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"/>
+</Handlers>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,16 @@
+<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:1.0"
ServerEnvironment="tomcat">
+ <IdentityURL>http://localhost:8080/idp-standalone/</IdentityURL>
+ <ServiceURL>http://localhost:8080/employee-standalone/</ServiceURL>
+ <Trust>
+ <Domains>localhost,jboss.com,jboss.org,redhat.com</Domains>
+ </Trust>
+ <KeyProvider
ClassName="org.picketlink.identity.federation.core.impl.KeyStoreKeyManager">
+ <Auth Key="KeyStoreURL" Value="jbid_test_keystore.jks" />
+ <Auth Key="KeyStorePass" Value="store123" />
+ <Auth Key="SigningKeyPass" Value="test123" />
+ <Auth Key="SigningKeyAlias" Value="servercert" />
+ <ValidatingAlias Key="localhost" Value="servercert"/>
+ <ValidatingAlias Key="127.0.0.1" Value="servercert"/>
+ </KeyProvider>
+
+</PicketLinkSP>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/web.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/web.xml
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/WEB-INF/web.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,48 @@
+<?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>Test Employee Application</display-name>
+ <description>
+ Just a Test SP
+ </description>
+
+ <!-- Define a Security Constraint on this Application -->
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>EMPLOYEE Application</web-resource-name>
+ <url-pattern>/*</url-pattern>
+ </web-resource-collection>
+ <auth-constraint>
+ <role-name>manager</role-name>
+ </auth-constraint>
+ </security-constraint>
+
+ <!-- Define a security constraint that gives unlimted access to freezone -->
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>freezone</web-resource-name>
+ <url-pattern>/freezone/*</url-pattern>
+ </web-resource-collection>
+ </security-constraint>
+
+ <!-- Define the Login Configuration for this Application -->
+ <login-config>
+ <auth-method>FORM</auth-method>
+ <realm-name>Tomcat EMPLOYEE Application</realm-name>
+ <form-login-config>
+ <form-login-page>/jsp/login.jsp</form-login-page>
+ <form-error-page>/jsp/loginerror.jsp</form-error-page>
+ </form-login-config>
+ </login-config>
+
+ <!-- Security roles referenced by this web application -->
+ <security-role>
+ <description>
+ The role that is required to log in to the EMPLOYEE Application
+ </description>
+ <role-name>manager</role-name>
+ </security-role>
+</web-app>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/careermap.jpg
===================================================================
(Binary files differ)
Property changes on:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/careermap.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/error.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/error.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/error.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,12 @@
+<html> <head> <title>Error!</title></head>
+<body>
+
+<font size='4' color='red'>
+ The username and password you supplied are not valid.
+</p>
+Click <a href='<%= response.encodeURL("login.jsp")
%>'>here</a>
+to retry login
+
+</body>
+</form>
+</html>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/index.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/index.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/index.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,14 @@
+<div align="center">
+<h1>EmployeeDashboard</h1>
+<br/>
+Welcome to the Employee Tool, <%=request.getUserPrincipal().getName()%>
+
+<br/>
+Here is your cartoon of the day:
+<br/>
+<img src="careermap.jpg"/>
+
+<br/>
+<a href="?GLO=true">Click to LogOut</a>
+
+</div>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/login.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/login.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/login.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,16 @@
+<html><head><title>Login Page</title></head>
+<body>
+<font size='5' color='blue'>Please Login</font><hr>
+
+<form action='j_security_check' method='post'>
+<table>
+ <tr><td>Name:</td>
+ <td><input type='text'
name='j_username'></td></tr>
+ <tr><td>Password:</td>
+ <td><input type='password' name='j_password'
size='8'></td>
+ </tr>
+</table>
+<br>
+ <input type='submit' value='login'>
+</form></body>
+ </html>
Added:
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/logout.jsp
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/logout.jsp
(rev 0)
+++
migration/picketlink/federation/trunk/picketlink-webapps/employee-standalone/src/main/webapp/logout.jsp 2009-11-21
05:02:46 UTC (rev 1056)
@@ -0,0 +1,4 @@
+<%
+ session.invalidate();
+%>
+You are logged out.
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/idp-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,8 +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.SAML2SignatureValidationHandler"/>
<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"/>
- <Handler
class="org.picketlink.identity.federation.web.handlers.saml2.SAML2SignatureGenerationHandler"/>
</Handlers>
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/idp-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/idp-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/idp-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -3,7 +3,7 @@
<Trust>
<Domains>localhost,jboss.com,jboss.org</Domains>
</Trust>
-<KeyProvider
ClassName="org.picketlink.identity.federation.bindings.tomcat.KeyStoreKeyManager">
+<KeyProvider
ClassName="org.picketlink.identity.federation.core.impl.KeyStoreKeyManager">
<Auth Key="KeyStoreURL" Value="jbid_test_keystore.jks" />
<Auth Key="KeyStorePass" Value="store123" />
<Auth Key="SigningKeyPass" Value="test123" />
Modified: migration/picketlink/federation/trunk/picketlink-webapps/pom.xml
===================================================================
--- migration/picketlink/federation/trunk/picketlink-webapps/pom.xml 2009-11-20 12:57:44
UTC (rev 1055)
+++ migration/picketlink/federation/trunk/picketlink-webapps/pom.xml 2009-11-21 05:02:46
UTC (rev 1056)
@@ -24,11 +24,13 @@
</organization>
<modules>
<module>sales</module>
+ <module>employee</module>
<module>sales-sig</module>
+ <module>employee-sig</module>
<module>sales-post-sig</module>
<module>employee-post-sig</module>
<module>sales-standalone</module>
- <module>employee</module>
+ <module>employee-standalone</module>
<module>circleoftrust</module>
<module>idp</module>
<module>idp-sig</module>
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/META-INF/context.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/META-INF/context.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/META-INF/context.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,4 +1,4 @@
<Context>
- <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostFormAuthenticator"
+ <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
/>
</Context>
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/WEB-INF/context.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/WEB-INF/context.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/sales-post-sig/src/main/webapp/WEB-INF/context.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,4 +1,4 @@
<Context>
- <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostFormAuthenticator"
+ <Valve
className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
/>
</Context>
Modified:
migration/picketlink/federation/trunk/picketlink-webapps/sales-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
---
migration/picketlink/federation/trunk/picketlink-webapps/sales-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-20
12:57:44 UTC (rev 1055)
+++
migration/picketlink/federation/trunk/picketlink-webapps/sales-standalone/src/main/webapp/WEB-INF/picketlink-idfed.xml 2009-11-21
05:02:46 UTC (rev 1056)
@@ -1,7 +1,10 @@
<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:1.0"
ServerEnvironment="tomcat">
<IdentityURL>http://localhost:8080/idp-standalone/</IdentityURL>
<ServiceURL>http://localhost:8080/sales-standalone/</ServiceURL>
- <KeyProvider
ClassName="org.picketlink.identity.federation.bindings.tomcat.KeyStoreKeyManager">
+ <Trust>
+ <Domains>localhost,jboss.com,jboss.org,redhat.com</Domains>
+ </Trust>
+ <KeyProvider
ClassName="org.picketlink.identity.federation.core.impl.KeyStoreKeyManager">
<Auth Key="KeyStoreURL" Value="jbid_test_keystore.jks" />
<Auth Key="KeyStorePass" Value="store123" />
<Auth Key="SigningKeyPass" Value="test123" />