[jboss-cvs] Picketlink SVN: r1419 - in federation/trunk/picketlink-webapps/as7: assembly and 12 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 21 11:24:26 EST 2012


Author: anil.saldhana at jboss.com
Date: 2012-02-21 11:24:25 -0500 (Tue, 21 Feb 2012)
New Revision: 1419

Added:
   federation/trunk/picketlink-webapps/as7/employee-post-sig/
   federation/trunk/picketlink-webapps/as7/employee-post-sig/pom.xml
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/context.xml
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/context.xml
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/jboss-web.xml
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
   federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/web.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/
   federation/trunk/picketlink-webapps/as7/sales-post-sig/pom.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/context.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/context.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/jboss-web.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/web.xml
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/error.jsp
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/index.jsp
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/login.jsp
   federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/logout.jsp
Modified:
   federation/trunk/picketlink-webapps/as7/assembly/bin.xml
   federation/trunk/picketlink-webapps/as7/pom.xml
Log:
employee and sales post sig wars

Modified: federation/trunk/picketlink-webapps/as7/assembly/bin.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/assembly/bin.xml	2012-02-21 16:09:33 UTC (rev 1418)
+++ federation/trunk/picketlink-webapps/as7/assembly/bin.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -25,11 +25,21 @@
       <fileMode>0444</fileMode>
     </file>
     <file>
+      <source>${basedir}/../sales-post-sig/target/sales-post-sig.war</source>
+      <outputDirectory>picketlink</outputDirectory>
+      <fileMode>0444</fileMode>
+    </file>
+    <file>
       <source>${basedir}/../employee-post/target/employee-post.war</source>
       <outputDirectory>picketlink</outputDirectory>
       <fileMode>0444</fileMode>
     </file>
     <file>
+      <source>${basedir}/../employee-post-sig/target/employee-post-sig.war</source>
+      <outputDirectory>picketlink</outputDirectory>
+      <fileMode>0444</fileMode>
+    </file>
+    <file>
       <source>${basedir}/../sales-saml11/target/sales-saml11.war</source>
       <outputDirectory>picketlink</outputDirectory>
       <fileMode>0444</fileMode>

Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/pom.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/pom.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/pom.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -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>employee-post-sig-as7</artifactId>
+   <packaging>war</packaging>
+   <name>PicketLink Federation Employee With Post And Signature Support</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-post-sig</warName>
+            <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+          </configuration>
+        </plugin>
+     </plugins>
+  </build>
+</project>

Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/context.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/context.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/context.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,4 @@
+<Context>
+  <Valve className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
+  />
+</Context>

Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -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/employee-post-sig/src/main/webapp/WEB-INF/context.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/context.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/context.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,4 @@
+<Context>
+  <Valve className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
+  />
+</Context>

Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/jboss-web.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/jboss-web.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-web>
+   <security-domain>sp</security-domain>
+   <valve>
+     <class-name>org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator</class-name>
+   </valve>
+</jboss-web>

Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,4 @@
+<Handlers xmlns="urn:picketlink:identity-federation:handler:config:1.0"> 
+  <Handler class="org.picketlink.identity.federation.web.handlers.saml2.SAML2LogOutHandler"/> 
+  <Handler class="org.picketlink.identity.federation.web.handlers.saml2.SAML2AuthenticationHandler"/>   
+</Handlers>
\ No newline at end of file

Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,13 @@
+<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:1.0" ServerEnvironment="tomcat">
+ <IdentityURL>${idp-sig.url::http://localhost:8080/idp-sig/}</IdentityURL>
+ <ServiceURL>${employee-post-sig.url::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" />
+   <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: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/web.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/web.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/WEB-INF/web.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -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>PicketLink Test SALES Application</display-name>
+  <description>
+    Just a Test SP for PicketLink Project
+  </description>
+
+  <!-- Define a Security Constraint on this Application -->
+  <security-constraint>
+    <web-resource-collection>
+      <web-resource-name>SALES 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 SALES 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 Manager Application
+    </description>
+    <role-name>manager</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:09:33 UTC (rev 1418)
+++ federation/trunk/picketlink-webapps/as7/pom.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -26,7 +26,9 @@
     <module>sales</module>
     <module>employee</module>
     <module>sales-post</module>
+    <module>sales-post-sig</module>
     <module>employee-post</module>
+    <module>employee-post-sig</module>
     <module>sales-saml11</module>
     <module>employee-saml11</module>
     <module>idp</module>

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/pom.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/pom.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/pom.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -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>sales-post-sig-as7</artifactId>
+   <packaging>war</packaging>
+   <name>PicketLink Federation Sales With Post And Signature Support</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>sales-post-sig</warName>
+            <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes>
+          </configuration>
+        </plugin>
+     </plugins>
+  </build>
+</project>

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/context.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/context.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/context.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,4 @@
+<Context>
+  <Valve className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
+  />
+</Context>

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/context.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/context.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/context.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,4 @@
+<Context>
+  <Valve className="org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator"
+  />
+</Context>

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/jboss-web.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/jboss-web.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/jboss-web.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-web>
+   <security-domain>sp</security-domain>
+   <valve>
+     <class-name>org.picketlink.identity.federation.bindings.tomcat.sp.SPPostSignatureFormAuthenticator</class-name>
+   </valve>
+</jboss-web>

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-handlers.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,4 @@
+<Handlers xmlns="urn:picketlink:identity-federation:handler:config:1.0"> 
+  <Handler class="org.picketlink.identity.federation.web.handlers.saml2.SAML2LogOutHandler"/> 
+  <Handler class="org.picketlink.identity.federation.web.handlers.saml2.SAML2AuthenticationHandler"/>   
+</Handlers>
\ No newline at end of file

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,13 @@
+<PicketLinkSP xmlns="urn:picketlink:identity-federation:config:1.0" ServerEnvironment="tomcat">
+ <IdentityURL>${idp-sig.url::http://localhost:8080/idp-sig/}</IdentityURL>
+ <ServiceURL>${sales-post-sig.url::http://localhost:8080/sales-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" />
+   <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: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/web.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/web.xml	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/WEB-INF/web.xml	2012-02-21 16:24:25 UTC (rev 1419)
@@ -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>Fedbridge Test SALES Application</display-name>
+  <description>
+    Just a Test SP for Fedbridge Project
+  </description>
+
+  <!-- Define a Security Constraint on this Application -->
+  <security-constraint>
+    <web-resource-collection>
+      <web-resource-name>SALES 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 SALES 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 Manager Application
+    </description>
+    <role-name>manager</role-name>
+  </security-role>
+</web-app>

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/error.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/error.jsp	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/error.jsp	2012-02-21 16:24:25 UTC (rev 1419)
@@ -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: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/index.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/index.jsp	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/index.jsp	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1,14 @@
+<div align="center">
+<h1>SalesTool</h1>
+<br/>
+Welcome to the Sales Tool, <%=request.getUserPrincipal().getName()%>
+
+<br/>
+Here is your sales chart:
+<br/>
+<img src="piechart.gif"/>
+
+<br/>
+<a href="?GLO=true">Click to LogOut</a>
+
+</div>

Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/login.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/login.jsp	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/login.jsp	2012-02-21 16:24:25 UTC (rev 1419)
@@ -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: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/logout.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/logout.jsp	                        (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/logout.jsp	2012-02-21 16:24:25 UTC (rev 1419)
@@ -0,0 +1 @@
+You are logged out.



More information about the jboss-cvs-commits mailing list