[java-identity-provider COMMIT] /trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml

noreply at shibboleth.net noreply at shibboleth.net
Mon Jun 2 18:11:19 EDT 2014


Author: scantor
Date: Mon Jun  2 18:11:18 2014
New Revision: 6034

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6034&view=rev
Log:
Populate security params earlier in flow for more consistent outcome.

Modified:
    trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml?rev=6034&r1=6033&r2=6034&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml Mon Jun  2 18:11:18 2014
@@ -38,12 +38,16 @@
     
     <subflow-state id="CallInboundSubflow" subflow="#{currentEvent.id}">
         <input name="calledAsSubflow" value="true" />
-        <transition on="proceed" to="OutboundContexts" />
+        <transition on="proceed" to="OutboundContextsAndSecurityParameters" />
     </subflow-state>
 
-    <action-state id="OutboundContexts">
+    <action-state id="OutboundContextsAndSecurityParameters">
         <evaluate expression="InitializeOutboundMessageContext" />
         <evaluate expression="PopulateBindingAndEndpointContexts" />
+        <evaluate expression="PopulateResponseSignatureSigningParameters" />
+        <evaluate expression="PopulateAssertionSignatureSigningParameters" />
+        <evaluate expression="PopulateEncryptionParameters" />
+        <evaluate expression="PopulateDecryptionParameters" />
         <evaluate expression="'proceed'" />
 
         <transition on="proceed" to="ExtractSubject" />
@@ -52,13 +56,12 @@
     <!-- Pull SAML Subject if present and turn it into a principal name. -->
 
     <action-state id="ExtractSubject">
-        <evaluate expression="PopulateDecryptionParameters" />
         <evaluate expression="DecryptNameIDs" />
         <evaluate expression="ExtractSubjectFromRequest" />
         <evaluate expression="'proceed'" />
         
-        <!-- No subject to operate on, so just skip back to the profile. -->
-        <transition on="NoSubject" to="PopulateSecurityParameters" />
+        <!-- No subject to operate on, so just skip to the profile. -->
+        <transition on="NoSubject" to="DoProfileWork" />
         
         <transition on="proceed" to="CallSubjectCanonicalization" />
     </action-state>
@@ -70,15 +73,6 @@
     
     <action-state id="FinalizeSAMLSubjectCanonicalization">
         <evaluate expression="FinalizeSAMLSubjectCanonicalization" />
-        <evaluate expression="'proceed'" />
-        
-        <transition on="proceed" to="PopulateSecurityParameters" />
-    </action-state>
-
-    <action-state id="PopulateSecurityParameters">
-        <evaluate expression="PopulateResponseSignatureSigningParameters" />
-        <evaluate expression="PopulateAssertionSignatureSigningParameters" />
-        <evaluate expression="PopulateEncryptionParameters" />
         <evaluate expression="'proceed'" />
         
         <transition on="proceed" to="DoProfileWork" />



More information about the commits mailing list