[java-idp-testbed COMMIT] in /trunk/src/main/resources: conf/webflow-config.xml flows/authn/authn-abstract-flow.xml f...

noreply at shibboleth.net noreply at shibboleth.net
Mon Oct 21 14:48:56 EDT 2013


Author: scantor
Date: Mon Oct 21 14:48:56 2013
New Revision: 22

URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=22&view=rev
Log:
Factor out reusable flow defs,  use programmatic dispatch to subject c14n.

Added:
    trunk/src/main/resources/flows/authn/authn-abstract-flow.xml   (with props)
    trunk/src/main/resources/flows/authn/authn-subflow-abstract-flow.xml   (with props)
    trunk/src/main/resources/flows/authn/simple-subject-c14n-beans.xml
      - copied, changed from r9, trunk/src/main/resources/flows/authn/subject-c14n-beans.xml
Modified:
    trunk/src/main/resources/conf/webflow-config.xml
    trunk/src/main/resources/flows/authn/authn-flow.xml
    trunk/src/main/resources/flows/authn/ipaddress-authn-flow.xml
    trunk/src/main/resources/flows/authn/jaas-basic-authn-flow.xml
    trunk/src/main/resources/flows/authn/jaas-form-authn-flow.xml
    trunk/src/main/resources/flows/authn/remoteuser-authn-flow.xml
    trunk/src/main/resources/flows/authn/simple-subject-c14n-flow.xml
    trunk/src/main/resources/flows/authn/subject-c14n-beans.xml

Modified: trunk/src/main/resources/conf/webflow-config.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/resources/conf/webflow-config.xml?rev=22&r1=21&r2=22&view=diff
==============================================================================
--- trunk/src/main/resources/conf/webflow-config.xml (original)
+++ trunk/src/main/resources/conf/webflow-config.xml Mon Oct 21 14:48:56 2013
@@ -18,6 +18,8 @@
         <webflow:flow-location id="SAML2/POST/SSO" path="/saml2/sso-post-flow.xml"  />
         <webflow:flow-location id="SAML2/Unsolicited/SSO" path="/saml2/sso-unsolicited-flow.xml"  />
     
+        <webflow:flow-location id="Authentication.Abstract" path="/authn/authn-abstract-flow.xml" />
+        <webflow:flow-location id="Authentication.Subflow.Abstract" path="/authn/authn-subflow-abstract-flow.xml" />
         <webflow:flow-location id="Authentication" path="/authn/authn-flow.xml" />
         
         <!-- Login methods. -->
@@ -28,8 +30,9 @@
         
         <!-- C14N methods. -->
         <webflow:flow-location id="SubjectC14N/Simple" path="/authn/simple-subject-c14n-flow.xml" />
+                
     </webflow:flow-registry>
-
+    
     <webflow:flow-executor id="flowExecutor">
         <webflow:flow-execution-repository max-execution-snapshots="0"/>
     </webflow:flow-executor>

Modified: trunk/src/main/resources/flows/authn/authn-flow.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/resources/flows/authn/authn-flow.xml?rev=22&r1=21&r2=22&view=diff
==============================================================================
--- trunk/src/main/resources/flows/authn/authn-flow.xml (original)
+++ trunk/src/main/resources/flows/authn/authn-flow.xml Mon Oct 21 14:48:56 2013
@@ -1,6 +1,7 @@
 <flow xmlns="http://www.springframework.org/schema/webflow"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-      xsi:schemaLocation="http://www.springframework.org/schema/webflow classpath:/org/springframework/webflow/engine/model/builder/spring-webflow-2.0.xsd">
+      xsi:schemaLocation="http://www.springframework.org/schema/webflow classpath:/org/springframework/webflow/engine/model/builder/spring-webflow-2.0.xsd"
+      parent="Authentication.Abstract">
 
     <!--
     This is the Authentication subflow. It handles retrieval of an existing session,
@@ -86,23 +87,6 @@
         <transition on="InputOutputError" to="proceed" />
     </action-state>
 
-    <!-- Successful completion of subflow. -->
-    <end-state id="proceed" />
-
-    <!-- Error events to reflect back from this subflow. -->    
-    <end-state id="InputOutputError" />
-    <end-state id="InvalidCredentials" />
-    <end-state id="InvalidProfileContext" />
-    <end-state id="NoCredentials" />
-    <end-state id="NoPotentialFlow" />
-    <end-state id="RequestUnsupported" />
-    <end-state id="SubjectCanonicalizationError" />
-
-    <!-- Default is to turn any event into its own end-state. -->
-    <global-transitions>
-        <transition on="#{true}" to="#{currentEvent.id}" />
-    </global-transitions>
-
     <bean-import resource="authn-beans.xml" />
 
 </flow>

Modified: trunk/src/main/resources/flows/authn/ipaddress-authn-flow.xml
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/resources/flows/authn/ipaddress-authn-flow.xml?rev=22&r1=21&r2=22&view=diff
==============================================================================
--- trunk/src/main/resources/flows/authn/ipaddress-authn-flow.xml (original)
+++ trunk/src/main/resources/flows/authn/ipaddress-authn-flow.xml Mon Oct 21 14:48:56 2013
@@ -1,6 +1,7 @@
 <flow xmlns="http://www.springframework.org/schema/webflow"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-      xsi:schemaLocation="http://www.springframework.org/schema/webflow classpath:/org/springframework/webflow/engine/model/builder/spring-webflow-2.0.xsd">

[... 209 lines stripped ...]


More information about the commits mailing list