[java-identity-provider COMMIT] /trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/logic/RelyingPartyId...

noreply at shibboleth.net noreply at shibboleth.net
Thu May 8 00:37:20 EDT 2014


Author: scantor
Date: Thu May  8 00:37:20 2014
New Revision: 5883

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5883&view=rev
Log:
Streamline further, only purpose of the subtype is to default the data lookup

Modified:
    trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicate.java

Modified: trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicate.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicate.java?rev=5883&r1=5882&r2=5883&view=diff
==============================================================================
--- trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicate.java (original)
+++ trunk/idp-profile-impl/src/main/java/net/shibboleth/idp/profile/logic/RelyingPartyIdPredicate.java Thu May  8 00:37:20 2014
@@ -28,8 +28,6 @@
 
 import org.opensaml.profile.context.ProfileRequestContext;
 
-import com.google.common.base.Function;
-
 /**
  * Predicate that evaluates a {@link ProfileRequestContext} by looking for relying party ID
  * that matches one of a designated set. The ID is obtained from a lookup function, by default from
@@ -46,14 +44,4 @@
         super(new RelyingPartyIdLookupFunction(), StringSupport.normalizeStringCollection(candidates));
     }
 
-    /**
-     * Constructor.
-     * 
-     * @param relyingPartyIdLookupStrategy  lookup strategy for relying party ID
-     * @param candidates hardwired set of values to check against
-     */
-    public RelyingPartyIdPredicate(@Nonnull final Function<ProfileRequestContext,String> relyingPartyIdLookupStrategy,
-            @Nonnull @NonnullElements final Collection<String> candidates) {
-        super(relyingPartyIdLookupStrategy, StringSupport.normalizeStringCollection(candidates));
-    }
 }



More information about the commits mailing list