Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/server/SamlServlet.java @ 6187:7bc35bbd8b27
Store the SAML ticket in the user object after authentication.
The SAML ticket will be needed to allow single sign-on to work for the
links into the wiki that are used in several places in the UI.
Part of flys/issue1265
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 04 Jun 2013 17:13:50 +0200 |
parents | b689d2b9d167 |
children | 238fc722f87a |
comparison
equal
deleted
inserted
replaced
6186:a07521dca5b5 | 6187:7bc35bbd8b27 |
---|---|
84 throw new AuthenticationException("Login failed."); | 84 throw new AuthenticationException("Login failed."); |
85 } | 85 } |
86 | 86 |
87 Features features = (Features)sc.getAttribute(Features.CONTEXT_ATTRIBUTE); | 87 Features features = (Features)sc.getAttribute(Features.CONTEXT_ATTRIBUTE); |
88 return new org.dive4elements.river.client.server.auth.saml.User( | 88 return new org.dive4elements.river.client.server.auth.saml.User( |
89 assertion, features.getFeatures(assertion.getRoles()), null); | 89 assertion, samlTicketXML, |
90 features.getFeatures(assertion.getRoles()), null); | |
90 } | 91 } |
91 } | 92 } |