Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
6187:7bc35bbd8b27 | 6188:733c32da04b8 |
---|---|
58 String uuid = user.getAttributeNS( | 58 String uuid = user.getAttributeNS( |
59 ArtifactNamespaceContext.NAMESPACE_URI, "uuid"); | 59 ArtifactNamespaceContext.NAMESPACE_URI, "uuid"); |
60 String name = user.getAttributeNS( | 60 String name = user.getAttributeNS( |
61 ArtifactNamespaceContext.NAMESPACE_URI, "name"); | 61 ArtifactNamespaceContext.NAMESPACE_URI, "name"); |
62 | 62 |
63 return new DefaultUser(uuid, name); | 63 return new DefaultUser(uuid, name, |
64 loginuser.getSamlXMLBase64()); | |
64 } | 65 } |
65 } | 66 } |
66 catch (ConnectionException ce) { | 67 catch (ConnectionException ce) { |
67 logger.error(ce, ce); | 68 logger.error(ce, ce); |
68 } | 69 } |