<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[JForum Community - Latest posts for "20mithrandir"]]></title>
		<link>https://community.jforum.net/posts/listByUser/8</link>
		<description><![CDATA[Latest posts for "20mithrandir"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[Integration Forum] Aw:SSO - Single Sign On</title>
				<description><![CDATA[ Sorry, the fault was on my side. It's working perfectly in the new version ... one of the configuration properties wasn't set correctly. So shame on me and thanks for listening...]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/10/34</guid>
				<link>https://community.jforum.net/posts/preList/10/34</link>
				<pubDate><![CDATA[Wed, 24 Aug 2011 16:36:24]]> GMT</pubDate>
				<author><![CDATA[ 20mithrandir]]></author>
			</item>
			<item>
				<title>[Integration Forum] SSO - Single Sign On</title>
				<description><![CDATA[ I got the SSO working on jforum 2.1.9 implementing net.jforum.sso.SSO. Now I tried jforum 2.3.1 and it seems like this handling isn't working anymore.
<br>
<br>
Here's what's going on in 'authenticateUser':
<br>
<br>
<pre class="line-numbers"><code class="language-java match-braces"><br>	public String authenticateUser(RequestContext ctx) {<br>		String user = null;<br>		try {<br><br>			String email = null;<br>			// Get UserID<br>			Long userId = SecurityTools.getInstance().getUserIdFromCookie();<br>			if (userId != null) {<br>				// Determine user data from somewhere<br>				UserData userData = response.getData(0);<br>				user = userData.getUsr();<br>				email = userData.getEmail();<br>				// TODO: Adapt class ControllerUtils to use more/custom<br>				// attributes for user creation (see<br>				// http://www.andowson.com/posts/list/227.page)<br><br>				// The password is irrelevant as the user has already logged on<br>				// (set it anyway in case JForum uses it)<br>				ctx.getSessionContext().setAttribute("password", "");<br>				ctx.getSessionContext().setAttribute("email", email);<br><br>			}<br><br>			if (LOG.isInfoEnabled()) {<br>				LOG.info("SSO User: " + userId + ", " + user + ", " + email);<br>			}<br>		} catch (Exception ex) {<br>			LOG.error("Problem in authenticateUser!", ex);<br>		}<br>		return user;<br>	}</code></pre>
<br>
<br>
Please can someone explain what's missing or what's been changed between the versions?
<br>]]></description>
				<guid isPermaLink="true">https://community.jforum.net/posts/preList/10/30</guid>
				<link>https://community.jforum.net/posts/preList/10/30</link>
				<pubDate><![CDATA[Thu, 18 Aug 2011 20:21:24]]> GMT</pubDate>
				<author><![CDATA[ 20mithrandir]]></author>
			</item>
	</channel>
</rss>