Picketlink SVN: r1429 - federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-22 10:25:43 -0500 (Wed, 22 Feb 2012)
New Revision: 1429
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/index.jsp
Log:
missing
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/index.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/index.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/index.jsp 2012-02-22 15:25:43 UTC (rev 1429)
@@ -0,0 +1 @@
+Welcome to IDP!
12 years, 10 months
Picketlink SVN: r1428 - in integration-tests/trunk: picketlink-int-webapps/authenticator and 1 other directory.
by picketlink-commits@lists.jboss.org
Author: pskopek(a)redhat.com
Date: 2012-02-22 03:43:55 -0500 (Wed, 22 Feb 2012)
New Revision: 1428
Modified:
integration-tests/trunk/picketlink-int-webapps/authenticator/
integration-tests/trunk/pom.xml
Log:
Adding missing saml-jbas7 module to main pom.xml
Property changes on: integration-tests/trunk/picketlink-int-webapps/authenticator
___________________________________________________________________
Added: svn:ignore
+ target
Modified: integration-tests/trunk/pom.xml
===================================================================
--- integration-tests/trunk/pom.xml 2012-02-21 22:14:06 UTC (rev 1427)
+++ integration-tests/trunk/pom.xml 2012-02-22 08:43:55 UTC (rev 1428)
@@ -19,6 +19,7 @@
<module>picketlink-saml-tests</module>
<module>picketlink-saml-jbas51</module>
<module>picketlink-saml-jbas6</module>
+ <module>picketlink-saml-jbas7</module>
<module>picketlink-saml-tomcat6</module>
<module>picketlink-saml-standalone</module>
<module>picketlink-sts-tests</module>
12 years, 10 months
Picketlink SVN: r1427 - in federation/trunk: picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2 and 1 other directory.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 17:14:06 -0500 (Tue, 21 Feb 2012)
New Revision: 1427
Added:
federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/SerializablePrincipal.java
Modified:
federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java
Log:
PLFED-254: use serializable principal that is outside the handler
Added: federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/SerializablePrincipal.java
===================================================================
--- federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/SerializablePrincipal.java (rev 0)
+++ federation/trunk/picketlink-fed-core/src/main/java/org/picketlink/identity/federation/core/SerializablePrincipal.java 2012-02-21 22:14:06 UTC (rev 1427)
@@ -0,0 +1,47 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.picketlink.identity.federation.core;
+
+import java.io.Serializable;
+import java.security.Principal;
+
+/**
+ * An instance of {@link Principal} that is {@link Serializable}
+ * @author Anil Saldhana
+ * @since Feb 21, 2012
+ */
+public class SerializablePrincipal implements Principal, Serializable
+{
+ private static final long serialVersionUID = -4732505034437816312L;
+
+ private final String name;
+
+ public SerializablePrincipal(String name)
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+}
\ No newline at end of file
Modified: federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java
===================================================================
--- federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java 2012-02-21 22:13:09 UTC (rev 1426)
+++ federation/trunk/picketlink-web/src/main/java/org/picketlink/identity/federation/web/handlers/saml2/SAML2AuthenticationHandler.java 2012-02-21 22:14:06 UTC (rev 1427)
@@ -21,7 +21,6 @@
*/
package org.picketlink.identity.federation.web.handlers.saml2;
-import java.io.Serializable;
import java.io.StringWriter;
import java.security.Principal;
import java.security.PrivateKey;
@@ -38,6 +37,7 @@
import org.picketlink.identity.federation.api.saml.v2.request.SAML2Request;
import org.picketlink.identity.federation.api.saml.v2.response.SAML2Response;
import org.picketlink.identity.federation.core.ErrorCodes;
+import org.picketlink.identity.federation.core.SerializablePrincipal;
import org.picketlink.identity.federation.core.exceptions.ConfigurationException;
import org.picketlink.identity.federation.core.exceptions.ProcessingException;
import org.picketlink.identity.federation.core.parsers.saml.SAMLParser;
@@ -603,21 +603,4 @@
return roles;
}
}
-
- private class SerializablePrincipal implements Principal, Serializable
- {
- private static final long serialVersionUID = 7701951188631723253L;
-
- private String userName;
-
- private SerializablePrincipal(String userName)
- {
- this.userName = userName;
- }
-
- public String getName()
- {
- return userName;
- }
- }
}
\ No newline at end of file
12 years, 10 months
Picketlink SVN: r1426 - federation/trunk/picketlink-bindings/src/main/java/org/picketlink/identity/federation/bindings/tomcat/idp.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 17:13:09 -0500 (Tue, 21 Feb 2012)
New Revision: 1426
Modified:
federation/trunk/picketlink-bindings/src/main/java/org/picketlink/identity/federation/bindings/tomcat/idp/IDPWebBrowserSSOValve.java
Log:
fix the GLO use case
Modified: federation/trunk/picketlink-bindings/src/main/java/org/picketlink/identity/federation/bindings/tomcat/idp/IDPWebBrowserSSOValve.java
===================================================================
--- federation/trunk/picketlink-bindings/src/main/java/org/picketlink/identity/federation/bindings/tomcat/idp/IDPWebBrowserSSOValve.java 2012-02-21 22:11:14 UTC (rev 1425)
+++ federation/trunk/picketlink-bindings/src/main/java/org/picketlink/identity/federation/bindings/tomcat/idp/IDPWebBrowserSSOValve.java 2012-02-21 22:13:09 UTC (rev 1426)
@@ -830,10 +830,10 @@
.setAreWeSendingRequest(willSendRequest).setPrivateKey(null).setSupportSignature(false)
.setServletResponse(response).setPostBindingRequested(requestedPostProfile);
- if (requestedPostProfile)
+ /*if (requestedPostProfile)
holder.setPostBindingRequested(requestedPostProfile);
else
- holder.setPostBindingRequested(postProfile);
+ holder.setPostBindingRequested(postProfile);*/
if (this.signOutgoingMessages)
{
12 years, 10 months
Picketlink SVN: r1425 - in federation/trunk/picketlink-webapps/as7: sales-post-sig/src/main/webapp and 1 other directory.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 17:11:14 -0500 (Tue, 21 Feb 2012)
New Revision: 1425
Added:
federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/careermap.jpg
federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/error.jsp
federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/index.jsp
federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/login.jsp
federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/logout.jsp
federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/piechart.gif
federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/piechart.gif
Log:
missing files
Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/careermap.jpg
===================================================================
(Binary files differ)
Property changes on: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/careermap.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/error.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/error.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/error.jsp 2012-02-21 22:11:14 UTC (rev 1425)
@@ -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/employee-post-sig/src/main/webapp/index.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/index.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/index.jsp 2012-02-21 22:11:14 UTC (rev 1425)
@@ -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: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/login.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/login.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/login.jsp 2012-02-21 22:11:14 UTC (rev 1425)
@@ -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/employee-post-sig/src/main/webapp/logout.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/logout.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/logout.jsp 2012-02-21 22:11:14 UTC (rev 1425)
@@ -0,0 +1,2 @@
+
+You are logged out.
Added: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/piechart.gif
===================================================================
(Binary files differ)
Property changes on: federation/trunk/picketlink-webapps/as7/employee-post-sig/src/main/webapp/piechart.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/piechart.gif
===================================================================
(Binary files differ)
Property changes on: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/piechart.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
12 years, 10 months
Picketlink SVN: r1424 - federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 12:50:09 -0500 (Tue, 21 Feb 2012)
New Revision: 1424
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/index.jsp
Log:
missing pieces
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/index.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/index.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/index.jsp 2012-02-21 17:50:09 UTC (rev 1424)
@@ -0,0 +1 @@
+Welcome to IDP.
12 years, 10 months
Picketlink SVN: r1423 - in federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp: WEB-INF and 2 other directories.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 12:35:19 -0500 (Tue, 21 Feb 2012)
New Revision: 1423
Added:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/jbid_test_keystore.jks
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/roles.properties
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/users.properties
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/error.jsp
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/login-error.jsp
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/login.jsp
Modified:
federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml
Log:
missing pieces
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/jbid_test_keystore.jks
===================================================================
(Binary files differ)
Property changes on: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/jbid_test_keystore.jks
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/roles.properties
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/roles.properties (rev 0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/roles.properties 2012-02-21 17:35:19 UTC (rev 1423)
@@ -0,0 +1 @@
+tomcat=manager,sales,employee
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/users.properties
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/users.properties (rev 0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/classes/users.properties 2012-02-21 17:35:19 UTC (rev 1423)
@@ -0,0 +1 @@
+tomcat=tomcat
Modified: 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 2012-02-21 16:53:50 UTC (rev 1422)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/WEB-INF/picketlink-idfed.xml 2012-02-21 17:35:19 UTC (rev 1423)
@@ -1,6 +1,22 @@
<PicketLinkIDP xmlns="urn:picketlink:identity-federation:config:1.0" >
-<IdentityURL>${idp.url::http://localhost:8080/idp/}</IdentityURL>
+<IdentityURL>${idp-sig.url::http://localhost:8080/idp-sig/}</IdentityURL>
<Trust>
- <Domains>localhost,jboss.com,jboss.org,amazonaws.com</Domains>
+ <Domains>localhost,jboss.com,jboss.org,redhat.com,amazonaws.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="KeyStorePass" Value="MASK-O1P+U1Domeec8lCaoIkTGg==" />
+ <!--
+ <Auth Key="SigningKeyPass" Value="test123" />
+ -->
+ <Auth Key="SigningKeyPass" Value="MASK-AJbh4WmHwy8=" />
+ <Auth Key="SigningKeyAlias" Value="servercert" />
+ <Auth Key="salt" Value="18273645" />
+ <Auth Key="iterationCount" Value="11" />
+ <ValidatingAlias Key="localhost" Value="servercert"/>
+ <ValidatingAlias Key="127.0.0.1" Value="servercert"/>
+</KeyProvider>
</PicketLinkIDP>
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/error.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/error.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/error.jsp 2012-02-21 17:35:19 UTC (rev 1423)
@@ -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/idp-sig/src/main/webapp/jsp/login-error.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/login-error.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/login-error.jsp 2012-02-21 17:35:19 UTC (rev 1423)
@@ -0,0 +1,6 @@
+<html><head><title>Login Page</title></head>
+<body>
+<font size='5' color='blue'>Login Error</font><hr>
+
+</body>
+ </html>
Added: federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/login.jsp
===================================================================
--- federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/login.jsp (rev 0)
+++ federation/trunk/picketlink-webapps/as7/idp-sig/src/main/webapp/jsp/login.jsp 2012-02-21 17:35:19 UTC (rev 1423)
@@ -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>
12 years, 10 months
Picketlink SVN: r1422 - in federation/trunk/picketlink-webapps/as7: assembly and 6 other directories.
by picketlink-commits@lists.jboss.org
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>
12 years, 10 months
Picketlink SVN: r1421 - in federation/trunk/picketlink-webapps/as7/picketlink-sts: src/main and 7 other directories.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 11:47:18 -0500 (Tue, 21 Feb 2012)
New Revision: 1421
Added:
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/
federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java
Modified:
federation/trunk/picketlink-webapps/as7/picketlink-sts/pom.xml
Log:
missing class
Modified: federation/trunk/picketlink-webapps/as7/picketlink-sts/pom.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/picketlink-sts/pom.xml 2012-02-21 16:38:25 UTC (rev 1420)
+++ federation/trunk/picketlink-webapps/as7/picketlink-sts/pom.xml 2012-02-21 16:47:18 UTC (rev 1421)
@@ -37,9 +37,9 @@
</build>
<dependencies>
<dependency>
- <groupId>org.picketlink</groupId>
- <artifactId>picketlink-fed-core</artifactId>
- <version>${project.parent.version}</version>
- </dependency>
+ <groupId>org.picketlink</groupId>
+ <artifactId>picketlink-fed-core</artifactId>
+ <version>${project.parent.version}</version>
+ </dependency>
</dependencies>
</project>
Added: federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java
===================================================================
--- federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java (rev 0)
+++ federation/trunk/picketlink-webapps/as7/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java 2012-02-21 16:47:18 UTC (rev 1421)
@@ -0,0 +1,45 @@
+package org.picketlink.identity.federation.app.sts;
+/*
+ * JBoss, Home of Professional Open Source. Copyright 2009, Red Hat Middleware LLC, and individual contributors as
+ * indicated by the @author tags. See the copyright.txt file in the distribution for a full listing of individual
+ * contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any
+ * later version.
+ *
+ * This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License along with this software; if not, write to
+ * the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF site:
+ * http://www.fsf.org.
+ */
+
+
+import javax.annotation.Resource;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceProvider;
+
+import org.picketlink.identity.federation.core.wstrust.PicketLinkSTS;
+
+/**
+ * <p>
+ * Default implementation of the {@code SecurityTokenService} interface.
+ * </p>
+ *
+ * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
+ * @author <a href="mailto:pskopek@redhat.com">Peter Skopek</a>
+ */
+@WebServiceProvider(serviceName = "PicketLinkSTS", portName = "PicketLinkSTSPort", targetNamespace = "urn:picketlink:identity-federation:sts", wsdlLocation = "WEB-INF/wsdl/PicketLinkSTS.wsdl")
+@ServiceMode(value = Service.Mode.MESSAGE)
+public class PicketLinkSTService extends PicketLinkSTS
+{
+
+ @Resource
+ protected WebServiceContext context;
+
+}
\ No newline at end of file
12 years, 10 months
Picketlink SVN: r1420 - in federation/trunk/picketlink-webapps: picketlink-sts and 1 other directory.
by picketlink-commits@lists.jboss.org
Author: anil.saldhana(a)jboss.com
Date: 2012-02-21 11:38:25 -0500 (Tue, 21 Feb 2012)
New Revision: 1420
Added:
federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml
Modified:
federation/trunk/picketlink-webapps/picketlink-sts/pom.xml
Log:
add dep
Added: federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml
===================================================================
--- federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml (rev 0)
+++ federation/trunk/picketlink-webapps/as7/sales-post-sig/src/main/webapp/META-INF/jboss-deployment-structure.xml 2012-02-21 16:38:25 UTC (rev 1420)
@@ -0,0 +1,10 @@
+<jboss-deployment-structure>
+
+ <deployment>
+ <!-- Add picketlink module dependency -->
+ <dependencies>
+ <module name="org.picketlink" />
+ </dependencies>
+ </deployment>
+</jboss-deployment-structure>
+
Modified: federation/trunk/picketlink-webapps/picketlink-sts/pom.xml
===================================================================
--- federation/trunk/picketlink-webapps/picketlink-sts/pom.xml 2012-02-21 16:24:25 UTC (rev 1419)
+++ federation/trunk/picketlink-webapps/picketlink-sts/pom.xml 2012-02-21 16:38:25 UTC (rev 1420)
@@ -36,4 +36,12 @@
</plugin>
</plugins>
</build>
+ <dependencies>
+ <dependency>
+ <groupId>org.picketlink</groupId>
+ <artifactId>picketlink-fed-core</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+
</project>
12 years, 10 months