Update config with decoders, encoders and profile handler endpoints for HTTP-POST...
authorputmanb <putmanb@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 19 Nov 2007 01:58:30 +0000 (01:58 +0000)
committerputmanb <putmanb@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 19 Nov 2007 01:58:30 +0000 (01:58 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2474 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/conf/handler.xml
resources/conf/internal.xml

index 0aae92b..837e1e1 100644 (file)
     </ProfileHandler>
 
     <ProfileHandler xsi:type="SAML2SSO" 
+                    inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign"
+                    outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign
+                                                urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST 
+                                                urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">
+        <RequestPath>/saml2/POST-SimpleSign/SSO</RequestPath>
+    </ProfileHandler>
+
+    <ProfileHandler xsi:type="SAML2SSO" 
                     inboundBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
                     outboundBindingEnumeration="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST 
                                                 urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">
index 080b4a2..c5ffeeb 100644 (file)
     <util:map id="shibboleth.MessageDecoders">
         <entry>
             <key>
+                <value>urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign</value>
+            </key>
+            <bean id="shibboleth.SAML2HttpPostSimpleSignDecoder" class="org.opensaml.saml2.binding.decoding.HTTPPostSimpleSignDecoder">
+                <constructor-arg ref="shibboleth.ParserPool" />
+            </bean>
+        </entry>
+        <entry>
+            <key>
                 <value>urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST</value>
             </key>
             <bean id="shibboleth.SAML2HttpPostDecoder" class="org.opensaml.saml2.binding.decoding.HTTPPostDecoder">
     <util:map id="shibboleth.MessageEncoders">
         <entry>
             <key>
+                <value>urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign</value>
+            </key>
+            <bean id="shibboleth.SAML2HttpPostSimpleSignEncoder" class="org.opensaml.saml2.binding.encoding.HTTPPostSimpleSignEncoder">
+                <constructor-arg ref="shibboleth.VelocityEngine" />
+                <constructor-arg value="/templates/saml2-post-simplesign-binding.vm" />
+            </bean>
+        </entry>
+        <entry>
+            <key>
                 <value>urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST</value>
             </key>
             <bean id="shibboleth.SAML2HttpPostEncoder" class="org.opensaml.saml2.binding.encoding.HTTPPostEncoder">