changeset 8525:5aff82e77ec3

(issue1777) Move logging code for existing tickets to the correct location
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 16 Jan 2015 18:35:35 +0100 (2015-01-16)
parents 25705fe99121
children 9e66aa006b42
files gwt-client/src/main/java/org/dive4elements/river/client/server/SamlServlet.java gwt-client/src/main/java/org/dive4elements/river/client/server/auth/was/Response.java
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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);
     }
 }

http://dive4elements.wald.intevation.org