[jboss-cvs] Picketlink SVN: r1390 - in product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts: src/main and 8 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Feb 14 09:11:15 EST 2012


Author: pskopek at redhat.com
Date: 2012-02-14 09:11:15 -0500 (Tue, 14 Feb 2012)
New Revision: 1390

Added:
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/federation/
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java
Modified:
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/pom.xml
   product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/webapp/WEB-INF/web.xml
Log:
New version of STS web app ready for AS7/EAP6.

Modified: product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/pom.xml
===================================================================
--- product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/pom.xml	2012-02-07 23:03:06 UTC (rev 1389)
+++ product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/pom.xml	2012-02-14 14:11:15 UTC (rev 1390)
@@ -27,13 +27,20 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-war-plugin</artifactId>
-          <version>2.0.2</version>
           <configuration>
             <warName>picketlink-sts</warName>
+            <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>
             <!--webappDirectory>${basedir}/resources/</webappDirectory>
             <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludes-->
           </configuration>
         </plugin>
      </plugins>
   </build>
+   <dependencies>
+   	<dependency>
+	    <groupId>org.picketlink.product.eap</groupId>
+   		<artifactId>picketlink-core</artifactId>
+   		<version>${project.parent.version}</version>
+   	</dependency>
+   </dependencies>
 </project>

Added: product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java
===================================================================
--- product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java	                        (rev 0)
+++ product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/java/org/picketlink/identity/federation/app/sts/PicketLinkSTService.java	2012-02-14 14:11:15 UTC (rev 1390)
@@ -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 at redhat.com">Stefan Guilhen</a>
+ * @author <a href="mailto:pskopek at redhat.com">Peter Skopek</a>
+ */
+ at WebServiceProvider(serviceName = "PicketLinkSTS", portName = "PicketLinkSTSPort", targetNamespace = "urn:picketlink:identity-federation:sts", wsdlLocation = "WEB-INF/wsdl/PicketLinkSTS.wsdl")
+ at ServiceMode(value = Service.Mode.MESSAGE)
+public class PicketLinkSTService extends PicketLinkSTS 
+{
+
+   @Resource
+   protected WebServiceContext context;
+
+}
\ No newline at end of file

Modified: product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/webapp/WEB-INF/web.xml
===================================================================
--- product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/webapp/WEB-INF/web.xml	2012-02-07 23:03:06 UTC (rev 1389)
+++ product/branches/Branch_6_plus/picketlink-webapps/picketlink-sts/src/main/webapp/WEB-INF/web.xml	2012-02-14 14:11:15 UTC (rev 1390)
@@ -1,9 +1,10 @@
-<?xml version="1.0"?>
-<!DOCTYPE web-app PUBLIC
-   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
-   "http://java.sun.com/dtd/web-app_2_3.dtd">
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app 
+    version="3.0" 
+    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_3_0.xsd">
 
-<web-app>
    <servlet>
      <servlet-name>PicketLinkSTS</servlet-name>
      <servlet-class>org.picketlink.identity.federation.core.wstrust.PicketLinkSTS</servlet-class>



More information about the jboss-cvs-commits mailing list