[java-identity-provider COMMIT] in /trunk/idp-profile-api: pom.xml src/test/java/net/shibboleth/idp/profile/RequestCo...

noreply at shibboleth.net noreply at shibboleth.net
Mon Feb 3 20:50:59 EST 2014


Author: scantor
Date: Mon Feb  3 20:50:58 2014
New Revision: 5306

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5306&view=rev
Log:
Remove reference to authn-api to break a cycle.

Modified:
    trunk/idp-profile-api/pom.xml
    trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java

Modified: trunk/idp-profile-api/pom.xml
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/pom.xml?rev=5306&r1=5305&r2=5306&view=diff
==============================================================================
--- trunk/idp-profile-api/pom.xml (original)
+++ trunk/idp-profile-api/pom.xml Mon Feb  3 20:50:58 2014
@@ -38,13 +38,6 @@
         <!-- Runtime Dependencies -->
 
         <!-- Test Dependencies -->
-        
-        <dependency>
-            <groupId>${project.groupId}</groupId>
-            <artifactId>idp-authn-api</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
 
     </dependencies>
 

Modified: trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java?rev=5306&r1=5305&r2=5306&view=diff
==============================================================================
--- trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java (original)
+++ trunk/idp-profile-api/src/test/java/net/shibboleth/idp/profile/RequestContextBuilder.java Mon Feb  3 20:50:58 2014
@@ -27,7 +27,6 @@
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-import net.shibboleth.idp.authn.context.SubjectContext;
 import net.shibboleth.idp.profile.config.ProfileConfiguration;
 import net.shibboleth.idp.relyingparty.MockProfileConfiguration;
 import net.shibboleth.idp.relyingparty.RelyingPartyConfiguration;
@@ -343,7 +342,6 @@
         profileContext.setInboundMessageContext(buildInboundMessageContext());
         profileContext.setOutboundMessageContext(buildOutboundMessageContext());
         buildRelyingPartyContext(profileContext);
-        buildSubjectContext(profileContext);
         return profileContext;
     }
 
@@ -502,12 +500,6 @@
 
         return rpCtx;
     }
-    
-    @Nonnull protected SubjectContext buildSubjectContext(
-            @Nonnull final ProfileRequestContext profileRequestContext){
-        final SubjectContext subjectCtx = profileRequestContext.getSubcontext(SubjectContext.class, true);
-        return subjectCtx;
-    }
 
     /**
      * Builds a {@link RelyingPartyConfiguration}.



More information about the commits mailing list