[PATCH] (issue1777) Move logging code for existing tickets to the correct location

Wald Commits scm-commit at wald.intevation.org
Fri Jan 16 18:35:42 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1421429735 -3600
# Node ID 5aff82e77ec3d8d3c517069def22c7d72773189e
# Parent  25705fe991219469b537d7b73ea21fd232bfe8d5
(issue1777) Move logging code for existing tickets to the correct location

diff -r 25705fe99121 -r 5aff82e77ec3 gwt-client/src/main/java/org/dive4elements/river/client/server/SamlServlet.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/SamlServlet.java	Mon Jan 12 17:57:20 2015 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/SamlServlet.java	Fri Jan 16 18:35:35 2015 +0100
@@ -55,6 +55,7 @@
                 return;
             }
             this.performLogin(req, resp, user);
+            log.info("Authentication with existing SAML ticket.");
         }
         catch(AuthenticationException e) {
             log.error(e, e);
diff -r 25705fe99121 -r 5aff82e77ec3 gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Response.java
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Response.java	Mon Jan 12 17:57:20 2015 +0100
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Response.java	Fri Jan 16 18:35:35 2015 +0100
@@ -118,7 +118,6 @@
                 this.assertion.getRoles());
         log.debug("User " + this.username + " with features " + features +
                      " successfully authenticated.");
-        log.info("Authentication with existing ticket.");
         return new User(assertion, this.samlTicketXML, features, this.password);
     }
 }


More information about the Dive4Elements-commits mailing list