[java-identity-provider COMMIT] /trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/logic/Abstrac...
noreply at shibboleth.net
noreply at shibboleth.net
Mon May 5 13:02:16 EDT 2014
Author: scantor
Date: Mon May 5 13:02:16 2014
New Revision: 5847
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5847&view=rev
Log:
For now, remove component interfaces from Predicate for consistency
Modified:
trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/logic/AbstractRelyingPartyPredicate.java
Modified: trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/logic/AbstractRelyingPartyPredicate.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/logic/AbstractRelyingPartyPredicate.java?rev=5847&r1=5846&r2=5847&view=diff
==============================================================================
--- trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/logic/AbstractRelyingPartyPredicate.java (original)
+++ trunk/idp-profile-api/src/main/java/net/shibboleth/idp/profile/context/logic/AbstractRelyingPartyPredicate.java Mon May 5 13:02:16 2014
@@ -20,8 +20,6 @@
import javax.annotation.Nonnull;
import net.shibboleth.idp.profile.context.RelyingPartyContext;
-import net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent;
-import net.shibboleth.utilities.java.support.component.ComponentSupport;
import net.shibboleth.utilities.java.support.logic.Constraint;
import org.opensaml.messaging.context.navigate.ChildContextLookup;
@@ -34,8 +32,7 @@
* Base class for a predicate that evaluates a {@link ProfileRequestContext} and requires access to a
* {@link RelyingPartyContext}.
*/
-public abstract class AbstractRelyingPartyPredicate extends AbstractIdentifiableInitializableComponent
- implements Predicate<ProfileRequestContext> {
+public abstract class AbstractRelyingPartyPredicate implements Predicate<ProfileRequestContext> {
/** Strategy function to lookup RelyingPartyContext. */
@Nonnull private Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy;
@@ -61,7 +58,6 @@
*/
public synchronized void setRelyingPartyContextLookupStrategy(
@Nonnull final Function<ProfileRequestContext,RelyingPartyContext> strategy) {
- ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
relyingPartyContextLookupStrategy =
Constraint.isNotNull(strategy, "RelyingPartyContext lookup strategy cannot be null");
More information about the commits
mailing list