[java-identity-provider COMMIT] /trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver...
noreply at shibboleth.net
noreply at shibboleth.net
Sat Feb 7 09:39:24 EST 2015
Author: rdw
Date: Sat Feb 7 09:39:24 2015
New Revision: 7321
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=7321&view=rev
Log:
Move setters and getters together
Modified:
trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java
Modified: trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java?rev=7321&r1=7320&r2=7321&view=diff
==============================================================================
--- trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java (original)
+++ trunk/idp-attribute-resolver-api/src/main/java/net/shibboleth/idp/attribute/resolver/AbstractResolverPlugin.java Sat Feb 7 09:39:24 2015
@@ -79,6 +79,19 @@
}
/**
+ * Set whether an {@link AttributeResolutionContext} that occurred resolving attributes will be re-thrown. Doing so
+ * will cause the entire attribute resolution request to fail.
+ *
+ * @param propagate true if {@link ResolutionException}s are propagated, false if not
+ */
+ public void setPropagateResolutionExceptions(final boolean propagate) {
+ ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
+ ComponentSupport.ifDestroyedThrowDestroyedComponentException(this);
+
+ propagateResolutionExceptions = propagate;
+ }
+
+ /**
* Sets the mechanism to find out the {@link ProfileRequestContext}.
*
* @param strategy the mechanism
@@ -95,19 +108,6 @@
*/
public Function<AttributeResolutionContext, ProfileRequestContext> getProfileContextStrategy() {
return profileContextStrategy;
- }
-
- /**
- * Set whether an {@link AttributeResolutionContext} that occurred resolving attributes will be re-thrown. Doing so
- * will cause the entire attribute resolution request to fail.
- *
- * @param propagate true if {@link ResolutionException}s are propagated, false if not
- */
- public void setPropagateResolutionExceptions(final boolean propagate) {
- ComponentSupport.ifInitializedThrowUnmodifiabledComponentException(this);
- ComponentSupport.ifDestroyedThrowDestroyedComponentException(this);
-
- propagateResolutionExceptions = propagate;
}
/** {@inheritDoc} */
More information about the commits
mailing list