Ok, I got it.. using 2.1.8 here is what I came up with:
public
String authenticateUser(RequestContext ctx)
{ ...(get what u need from the cookie/database)
ctx.getSessionContext().setAttribute("email", email);
ControllerUtils.addCookie("JforumSSO", username, UtilToken.TOKEN_TIME);
}
It should be noted: if the user Already exists, the email address will NOT be persisted.
BTW: is there any easy way to disable/remove the 'Registration Informaration' section from the My Profile page when using SSO?
[originally posted on jforum.net by dano]