diff gwt-client/src/main/java/org/dive4elements/river/client/server/UserServiceImpl.java @ 6188:733c32da04b8

Extend the shared interface User with the SAML ticket so that it can be communicated to the GWT client. Part of flys/issue1265
author Bernhard Herzog <bh@intevation.de>
date Tue, 04 Jun 2013 17:20:50 +0200
parents ea9eef426962
children 238fc722f87a
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/server/UserServiceImpl.java	Tue Jun 04 17:13:50 2013 +0200
+++ b/gwt-client/src/main/java/org/dive4elements/river/client/server/UserServiceImpl.java	Tue Jun 04 17:20:50 2013 +0200
@@ -60,7 +60,8 @@
                 String name = user.getAttributeNS(
                         ArtifactNamespaceContext.NAMESPACE_URI, "name");
 
-                return new DefaultUser(uuid, name);
+                return new DefaultUser(uuid, name,
+                                       loginuser.getSamlXMLBase64());
             }
         }
         catch (ConnectionException ce) {

http://dive4elements.wald.intevation.org