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

noreply at shibboleth.net noreply at shibboleth.net
Wed Apr 23 10:19:16 EDT 2014


Author: scantor
Date: Wed Apr 23 10:19:16 2014
New Revision: 5765

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5765&view=rev
Log:
Transitions using {true} can be simplified.

Modified:
    trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml1/attribute-query-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml1/sso-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml2/attribute-query-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/saml2/sso-abstract-flow.xml
    trunk/idp-conf/src/main/resources/system/flows/saml/security-abstract-flow.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml?rev=5765&r1=5764&r2=5765&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/authn/authn-abstract-flow.xml Wed Apr 23 10:19:16 2014
@@ -22,7 +22,7 @@
 
     <!-- Default is to turn any event into its own end-state. -->
     <global-transitions>
-        <transition on="#{true}" to="#{currentEvent.id}" />
+        <transition to="#{currentEvent.id}" />
     </global-transitions>
 
 </flow>

Modified: trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml?rev=5765&r1=5764&r2=5765&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/c14n/subject-c14n-abstract-flow.xml Wed Apr 23 10:19:16 2014
@@ -19,7 +19,7 @@
     <!-- Default is to turn any event into its own end-state, except InvalidSubject, which triggers a Reselect. -->
     <global-transitions>
         <transition on="InvalidSubject" to="ReselectFlow" />
-        <transition on="#{true}" to="#{currentEvent.id}" />
+        <transition to="#{currentEvent.id}" />
     </global-transitions>
 
 </flow>

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=5765&r1=5764&r2=5765&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 Wed Apr 23 10:19:16 2014
@@ -59,7 +59,7 @@
         <transition on="#{currentEvent.id.startsWith('Invalid')}" to="SavePreviousEventAsError" />
         
         <!-- Call a subflow with the same ID as the event. -->
-        <transition on="#{true}" to="CallInboundSubflow" />
+        <transition to="CallInboundSubflow" />
     </action-state>
     
     <subflow-state id="CallInboundSubflow" subflow="#{currentEvent.id}">
@@ -145,30 +145,30 @@
         <transition on="#{currentEvent.id.startsWith('Invalid')}" to="error" />
         
         <!-- Call a subflow with the same ID as the event. -->
-        <transition on="#{true}" to="CallOutboundSubflow" />
+        <transition to="CallOutboundSubflow" />
     </action-state>
     
     <subflow-state id="CallOutboundSubflow" subflow="#{currentEvent.id}">
         <transition on="proceed" to="HandleOutboundMessage" />
-        <transition on="#{true}" to="error" />
+        <transition to="error" />
     </subflow-state>
 
     <action-state id="HandleOutboundMessage">
         <evaluate expression="HandleOutboundMessage" />
         <transition on="proceed" to="EncodeMessage" />
-        <transition on="#{true}" to="error" />
+        <transition to="error" />
     </action-state>
 
     <action-state id="EncodeMessage">
         <evaluate expression="EncodeMessage" />
         <transition on="proceed" to="RecordResponseComplete" />
-        <transition on="#{true}" to="error" />
+        <transition to="error" />
     </action-state>
 
     <action-state id="RecordResponseComplete">
         <evaluate expression="RecordResponseComplete" />
         <transition on="proceed" to="end" />
-        <transition on="#{true}" to="error" />
+        <transition to="error" />
     </action-state>
 
     <!-- Terminus -->
@@ -196,7 +196,7 @@
 
     <!-- Default is to turn any event into an error, preserve it, and initiate error handling sequence. -->
     <global-transitions>

[... 237 lines stripped ...]


More information about the commits mailing list