[java-idp-plugin-duo] branch main updated: Improve log statement

Phil Smart philip.smart at jisc.ac.uk
Thu Mar 11 12:42:09 UTC 2021


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

philsmart pushed a commit to branch main
in repository java-idp-plugin-duo.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=521ba1e03694ef70d6ac4b15aa771be1cea099a6

The following commit(s) were added to refs/heads/main by this push:
       new  521ba1e   Improve log statement
521ba1e is described below

commit 521ba1e03694ef70d6ac4b15aa771be1cea099a6
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Thu Mar 11 12:42:07 2021 +0000

    Improve log statement
---
 .../plugin/authn/duo/impl/DefaultRedirectURICreationStrategy.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultRedirectURICreationStrategy.java b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultRedirectURICreationStrategy.java
index 011fce4..5475f7b 100644
--- a/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultRedirectURICreationStrategy.java
+++ b/idp-duo-impl/src/main/java/net/shibboleth/idp/plugin/authn/duo/impl/DefaultRedirectURICreationStrategy.java
@@ -88,12 +88,13 @@ public final class DefaultRedirectURICreationStrategy
     
             final String origin = URISupport.buildOrigin(uri);
             if (!integration.getAllowedOrigins().contains(origin)) {
-                log.warn("The 'origin' of the computed redirect_uri ('{}') is not allowed",origin);
+                log.warn("The 'origin' of the computed redirect_uri ('{}') is not allowed. If permissible, add it "
+                        + "to the allowed origins property.",origin);
                 return null;
             }
             return uri.toString();
         } catch (final URISyntaxException e) {
-            log.warn("Unable to generate redirectURI, {}",e.getMessage());            
+            log.warn("Unable to generate redirect_uri, {}",e.getMessage());            
         }
         return null;
         

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


More information about the commits mailing list