[java-identity-provider] branch master updated: IDP-1170 - REST DataConnector

Scott Cantor cantor.2 at osu.edu
Wed May 24 12:03:23 EDT 2017


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=c18bdcb5d0e37825f1dcb04f10ebaf5bcb6df18e

The following commit(s) were added to refs/heads/master by this push:
       new  c18bdcb   IDP-1170 - REST DataConnector
c18bdcb is described below

commit c18bdcb5d0e37825f1dcb04f10ebaf5bcb6df18e
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed May 24 12:03:20 2017 -0400

    IDP-1170 - REST DataConnector
    
    https://issues.shibboleth.net/jira/browse/IDP-1170
    
    Wrap URL exceptions in a ResolutionException.
---
 .../attribute/resolver/dc/http/impl/AbstractHTTPSearchBuilder.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/AbstractHTTPSearchBuilder.java b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/AbstractHTTPSearchBuilder.java
index d3288e1..af76fd4 100644
--- a/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/AbstractHTTPSearchBuilder.java
+++ b/idp-attribute-resolver-impl/src/main/java/net/shibboleth/idp/attribute/resolver/dc/http/impl/AbstractHTTPSearchBuilder.java
@@ -125,7 +125,11 @@ public abstract class AbstractHTTPSearchBuilder extends AbstractInitializableCom
             @Nonnull final Map<String,List<IdPAttributeValue<?>>> dependencyAttributes) throws ResolutionException {
         
         // Default just wraps a computed URL into a GET.
-        return new HttpGet(getURL(resolutionContext, dependencyAttributes));
+        try {
+            return new HttpGet(getURL(resolutionContext, dependencyAttributes));
+        } catch (final IllegalArgumentException e) {
+            throw new ResolutionException(e);
+        }
     }
     
     /**

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list