changeset 3489:6f36f79676a7

Add debug log of a successfull authentification Add debug log of a successfull authentification against GGinA/WAS inclusive the corresponding features of the authenticated user. flys-client/trunk@5187 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 10 Aug 2012 09:01:36 +0000 (2012-08-10)
parents abaf0e55c9d2
children 5f628a13ca9f
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/auth/was/Response.java
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Fri Aug 10 08:47:30 2012 +0000
+++ b/flys-client/ChangeLog	Fri Aug 10 09:01:36 2012 +0000
@@ -1,3 +1,8 @@
+2012-08-08	Bj�rn Ricks <bjoern.ricks@intevation.de>
+	* src/main/java/de/intevation/flys/client/server/auth/was/Response.java:
+	  Add debug log of a successfull authentification inclusive the
+	  corresponding features of the authenticated user.
+
 2012-08-08	Bj�rn Ricks <bjoern.ricks@intevation.de>
 	* src/main/webapp/WEB-INF/features.xml:
 	  Add example features for GGinA/WAS role flys_bfg.
--- a/flys-client/src/main/java/de/intevation/flys/client/server/auth/was/Response.java	Fri Aug 10 08:47:30 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/auth/was/Response.java	Fri Aug 10 09:01:36 2012 +0000
@@ -109,6 +109,8 @@
         }
         List<String> features = this.features.getFeatures(
                 this.assertion.getRoles());
+        logger.debug("User " + this.username + " with features " + features +
+                     " successfully authenticated.");
         return new User(this.username, this.password,
                 this.assertion.getRoles(), assertion, features);
     }

http://dive4elements.wald.intevation.org