diff gwt-client/src/main/java/org/dive4elements/river/client/server/auth/saml/Assertion.java @ 8203:238fc722f87a

sed 's/logger/log/g' src/**/*.java
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 13:19:22 +0200
parents a51adfc957bf
children 2c8259176c46
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/saml/Assertion.java	Fri Sep 05 12:58:17 2014 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/auth/saml/Assertion.java	Fri Sep 05 13:19:22 2014 +0200
@@ -28,7 +28,7 @@
  */
 public class Assertion {
 
-    private static Logger logger = Logger.getLogger(Assertion.class);
+    private static Logger log = Logger.getLogger(Assertion.class);
 
     private Element assertion;
     private LinkedList<String> roles;
@@ -60,17 +60,17 @@
         Element conditions = (Element)XPathUtils.xpathNode(this.assertion,
                                                            "saml:Conditions");
         if (conditions == null) {
-            logger.error("Cannot find Assertion conditions element");
+            log.error("Cannot find Assertion conditions element");
             return;
         }
 
         this.notbefore = parseDateAttribute(conditions, "NotBefore");
         if (this.notbefore == null) {
-            logger.warn("Could not extract NotBefore date.");
+            log.warn("Could not extract NotBefore date.");
         }
         this.notonorafter = parseDateAttribute(conditions, "NotOnOrAfter");
         if (this.notonorafter == null) {
-            logger.warn("Could not extract NotOnOrAfter date.");
+            log.warn("Could not extract NotOnOrAfter date.");
         }
     }
 
@@ -87,7 +87,7 @@
             return toGMT(dateformat.parse(value));
         }
         catch(ParseException e) {
-            logger.error("Cannot parse Condition attribute "
+            log.error("Cannot parse Condition attribute "
                          + name + " with value " + value
                          + " (" + e.getLocalizedMessage() + ")");
         }
@@ -106,7 +106,7 @@
         Element attrstatement = (Element)XPathUtils.xpathNode(this.assertion,
                                                    "saml:AttributeStatement");
         if (attrstatement == null) {
-            logger.error("Cannot find Assertion AttributeStatement element");
+            log.error("Cannot find Assertion AttributeStatement element");
             return;
         }
 

http://dive4elements.wald.intevation.org