[java-identity-provider COMMIT] in /trunk: idp-conf/src/main/resources/system/flows/saml2/sso-abstract-beans.xml idp-...

noreply at shibboleth.net noreply at shibboleth.net
Thu Dec 26 16:07:41 EST 2013


Author: tzeller
Date: Thu Dec 26 16:07:41 2013
New Revision: 5087

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5087&view=rev
Log:
Move the action which creates an authentication context from the tesbed to idp-profile-impl. The context creation was previously done by the InitializeAuthenticationContext action, but now the profile is responsible for creating the context on which the authn subflow acts upon.

Added:
    trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/CreateAuthenticationContext.java   (with props)
    trunk/idp-profile-impl/src/test/java/net/shibboleth/idp/profile/impl/CreateAuthenticationContextTest.java   (with props)
Modified:
    trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-beans.xml
    trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-flow.xml
    trunk/idp-profile-impl/pom.xml

Modified: trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-beans.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-beans.xml?rev=5087&r1=5086&r2=5087&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-beans.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-beans.xml Thu Dec 26 16:07:41 2013
@@ -82,7 +82,7 @@
         <constructor-arg value="INBOUND" />
     </bean>
     
-    <bean id="BuildAuthenticationContext" class="idp.BuildAuthenticationContext" />
+    <bean id="CreateAuthenticationContext" class="net.shibboleth.idp.profile.impl.CreateAuthenticationContext" />
     
     <bean id="BuildResponse" class="idp.BuildMockSaml2Response" />
     

Modified: trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-flow.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-flow.xml?rev=5087&r1=5086&r2=5087&view=diff
==============================================================================
--- trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-flow.xml (original)
+++ trunk/idp-conf/src/main/resources/system/flows/saml2/sso-abstract-flow.xml Thu Dec 26 16:07:41 2013
@@ -47,11 +47,11 @@
     
     <action-state id="SelectProfileConfiguration">
         <evaluate expression="SelectProfileConfiguration" />
-        <transition on="proceed" to="BuildAuthenticationContext"/>
+        <transition on="proceed" to="CreateAuthenticationContext"/>
     </action-state>
         
-    <action-state id="BuildAuthenticationContext">
-        <evaluate expression="BuildAuthenticationContext" />
+    <action-state id="CreateAuthenticationContext">
+        <evaluate expression="CreateAuthenticationContext" />
         <transition on="proceed" to="DoAuthenticationSubflow" />
     </action-state>
     

Modified: trunk/idp-profile-impl/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/pom.xml?rev=5087&r1=5086&r2=5087&view=diff
==============================================================================
--- trunk/idp-profile-impl/pom.xml (original)
+++ trunk/idp-profile-impl/pom.xml Thu Dec 26 16:07:41 2013
@@ -42,6 +42,11 @@
             <artifactId>idp-attribute-filter-api</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>idp-authn-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
 
         <dependency>
             <groupId>${opensaml.groupId}</groupId>
@@ -55,8 +60,8 @@
         </dependency>
 
         <dependency>
-          <groupId>${spring.groupId}</groupId>
-          <artifactId>spring-beans</artifactId>
+            <groupId>${spring.groupId}</groupId>
+            <artifactId>spring-beans</artifactId>
         </dependency>
         <dependency>
             <groupId>${spring-webflow.groupId}</groupId>
@@ -72,6 +77,12 @@
             <artifactId>opensaml-profile-api</artifactId>
             <version>${opensaml.version}</version>
             <type>test-jar</type>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>${opensaml.groupId}</groupId>
+            <artifactId>opensaml-saml-impl</artifactId>
+            <version>${opensaml.version}</version>
             <scope>test</scope>
         </dependency>
 



More information about the commits mailing list