[jboss-cvs] Picketlink SVN: r660 - in federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF: classes and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Jan 26 21:32:17 EST 2011


Author: anil.saldhana at jboss.com
Date: 2011-01-26 21:32:17 -0500 (Wed, 26 Jan 2011)
New Revision: 660

Added:
   federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/wsdl/
   federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/wsdl/SOAPSAMLXACMLPDP.wsdl
Modified:
   federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/classes/policyConfig.xml
   federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/web.xml
Log:
pdp war now has the soap-saml-xacml jaxws ws provider

Modified: federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/classes/policyConfig.xml
===================================================================
--- federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/classes/policyConfig.xml	2011-01-27 02:31:29 UTC (rev 659)
+++ federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/classes/policyConfig.xml	2011-01-27 02:32:17 UTC (rev 660)
@@ -1,4 +1,4 @@
-<ns:jbosspdp xmlns:ns="urn:picketlink:xacml:2.0">
+<ns:jbosspdp xmlns:ns="urn:jboss:xacml:2.0">
    <ns:Policies>
       <ns:PolicySet>
          <ns:Location>policies/himss-policy.xml</ns:Location>

Modified: federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/web.xml
===================================================================
--- federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/web.xml	2011-01-27 02:31:29 UTC (rev 659)
+++ federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/web.xml	2011-01-27 02:32:17 UTC (rev 660)
@@ -13,6 +13,8 @@
     <param-name>debug</param-name>
     <param-value>false</param-value>
    </context-param>
+   
+   
    <servlet>
      <servlet-name>SOAPServlet</servlet-name>
      <servlet-class>org.picketlink.identity.federation.bindings.servlets.SOAPSAMLXACMLServlet</servlet-class>
@@ -26,8 +28,13 @@
         <param-value>true</param-value>
      </init-param>
    </servlet>
+   
+   <servlet>
+     <servlet-name>SOAPSAMLXACMLPDPServlet</servlet-name>
+     <servlet-class>org.picketlink.identity.federation.core.pdp.SOAPSAMLXACMLPDP</servlet-class>
+   </servlet>
    <servlet-mapping>
-      <servlet-name>SOAPServlet</servlet-name>
-      <url-pattern>/SOAPServlet</url-pattern>
+      <servlet-name>SOAPSAMLXACMLPDPServlet</servlet-name>
+      <url-pattern>/SOAPSAMLXACMLPDP</url-pattern>
    </servlet-mapping>
 </web-app>

Added: federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/wsdl/SOAPSAMLXACMLPDP.wsdl
===================================================================
--- federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/wsdl/SOAPSAMLXACMLPDP.wsdl	                        (rev 0)
+++ federation/trunk/picketlink-webapps/pdp/src/main/webapp/WEB-INF/wsdl/SOAPSAMLXACMLPDP.wsdl	2011-01-27 02:32:17 UTC (rev 660)
@@ -0,0 +1,51 @@
+<?xml version="1.0"?>
+<wsdl:definitions name="SOAPSAMLXACMLPDP" targetNamespace="urn:picketlink:identity-federation:pdp"
+	xmlns:tns="urn:picketlink:identity-federation:pdp" 
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
+	xmlns:wsap10="http://www.w3.org/2006/05/addressing/wsdl"
+	xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
+  <wsdl:types>
+    <xs:schema targetNamespace="urn:picketlink:identity-federation:pdp" 
+      xmlns:tns="urn:picketlink:identity-federation:pdp" 
+      xmlns:xs="http://www.w3.org/2001/XMLSchema"
+      version="1.0" elementFormDefault="qualified">
+      <xs:element name="MessageBody">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##any"/>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+    </xs:schema>
+  </wsdl:types>
+  <wsdl:message name="Authorize">
+    <wsdl:part name="authorizeMessage" element="tns:MessageBody"/>
+  </wsdl:message>
+  <wsdl:message name="AuthorizeResponse">
+    <wsdl:part name="authorizerMessage" element="tns:MessageBody"/>
+  </wsdl:message>
+  <wsdl:portType name="SOAPSAMLXACMLPort">
+    <wsdl:operation name="Authorize">
+      <wsdl:input wsap10:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" message="tns:Authorize"/>
+      <wsdl:output wsap10:Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Issue" message="tns:AuthorizeResponse"/>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="PDPBinding" type="tns:SOAPSAMLXACMLPort">
+    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+    <wsdl:operation name="Authorize">
+      <soap12:operation soapAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue" style="document"/>
+      <wsdl:input>
+        <soap12:body use="literal"/>
+      </wsdl:input>
+      <wsdl:output>
+        <soap12:body use="literal"/>
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="SOAPSAMLXACMLPDP">
+    <wsdl:port name="SOAPSAMLXACMLPort" binding="tns:PDPBinding">
+      <soap12:address location="http://localhost:8080/SOAPSAMLXACMLPDP"/>
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file



More information about the jboss-cvs-commits mailing list