Here is the relevant post from the 3rd thread above:
Hi
this session variable is set in OpenSSOFilter.java.
String cookieName = PrefsPropsUtil.getString(
companyId, PropsUtil.OPEN_SSO_SUBJECT_COOKIE_NAME,
PropsValues.OPEN_SSO_SUBJECT_COOKIE_NAME);
This will get the cookie value which we will set in the settings of Enterprise Admin.
protected boolean isAuthenticated(
HttpServletRequest req, String cookieName) {
String cookieValue = CookieUtil.get(req.getCookies(), cookieName);
if (Validator.isNotNull(cookieValue)) {
HttpSession ses = req.getSession();
ses.setAttribute(WebKeys.OPEN_SSO_LOGIN, cookieValue);
return true;
}
else {
return false;
}
}
inside this method it checks for the same coookie from the request which is coming from Fed Access manager . If cookie is not coming from FAM its value will be set to null , which is what exactly happening.
It seems to be on the Liferay end. Here's the actual error message from the server log.
ERROR [OpenSSOAutoLogin:185] no content-type
This happens once the code picks up the cookie and session variable. Which for me, right now takes me having to press the "sign-in" button -> going to OpenSSO and logging in -> redirect back to liferay still not logged in -> choose sign-in from the drop-down menu again -> then I see this error message.
The liferay code isn't able to pull the user profile from the OpenSSO REST call when it does the connection.
this code doesn't seem to be working.
See link to forum posts about issues:
http://www.liferay.com/web/guest/community/forums/message_boards/message/464781
http://www.liferay.com/web/guest/community/forums/message_boards/message/479061
https://www.liferay.com/web/guest/community/forums/message_boards/message/508581