[java-identity-provider COMMIT] in /trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl: FilterAttri...

noreply at shibboleth.net noreply at shibboleth.net
Fri Jul 20 09:54:55 EDT 2012


Author: lajoie
Date: Fri Jul 20 09:54:55 2012
New Revision: 4211

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=4211&view=rev
Log:
remove working context once processing is complete

Modified:
    trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java
    trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java

Modified: trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java?rev=4211&r1=4210&r2=4211&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java (original)
+++ trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/FilterAttributes.java Fri Jul 20 09:54:55 2012
@@ -148,8 +148,7 @@
 
         try {
             filterEngine.filterAttributes(filterContext);
-            // TODO should we do this
-            // relyingPartyCtx.removeSubcontext(filterContext);
+            relyingPartyCtx.removeSubcontext(filterContext);
 
             attributeContext.setAttributes(filterContext.getFilteredAttributes().values());
         } catch (AttributeFilteringException e) {

Modified: trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java?rev=4211&r1=4210&r2=4211&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java (original)
+++ trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/impl/ResolveAttributes.java Fri Jul 20 09:54:55 2012
@@ -131,8 +131,7 @@
 
         try {
             attributeResolver.resolveAttributes(resolutionContext);
-            // TODO should we do this?
-            // relyingPartyCtx.removeSubcontext(resolutionContext);
+            relyingPartyCtx.removeSubcontext(resolutionContext);
 
             final AttributeContext attributeCtx = new AttributeContext();
             attributeCtx.setAttributes(resolutionContext.getResolvedAttributes().values());



More information about the commits mailing list