Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/auth/was/Response.java @ 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 |
parents | 23095983c249 |
children | 1387cdeb8d93 |
comparison
equal
deleted
inserted
replaced
3488:abaf0e55c9d2 | 3489:6f36f79676a7 |
---|---|
107 if (assertion == null) { | 107 if (assertion == null) { |
108 throw new AuthenticationException("Response doesn't contain an assertion"); | 108 throw new AuthenticationException("Response doesn't contain an assertion"); |
109 } | 109 } |
110 List<String> features = this.features.getFeatures( | 110 List<String> features = this.features.getFeatures( |
111 this.assertion.getRoles()); | 111 this.assertion.getRoles()); |
112 logger.debug("User " + this.username + " with features " + features + | |
113 " successfully authenticated."); | |
112 return new User(this.username, this.password, | 114 return new User(this.username, this.password, |
113 this.assertion.getRoles(), assertion, features); | 115 this.assertion.getRoles(), assertion, features); |
114 } | 116 } |
115 } | 117 } |
116 // vim: set si et fileencoding=utf-8 ts=4 sw=4 tw=80: | 118 // vim: set si et fileencoding=utf-8 ts=4 sw=4 tw=80: |