Liferay Issues

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Test Sessions Access more options
    • Getting Started
ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)
  • ZZZ: PUBLIC - Old Liferay Portal (Use Liferay Portal Standard Edition)
  • LEP-4076

Out of the box support for OpenSSO

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 4.3.3
  • Fix Version/s: 4.3.4, 4.4.0
  • Component/s: None
  • Labels:
    None
  • Similar Issues:
    Show 5 results 

    LEP-4791Out of the box support for Velocity Tools
    LEP-5891OpenSSO bugs
    LEP-2633Improve out-of-the-box support of CAS Server with LDAP Authentication
    LEP-5710Liferay Out-of-the-Box Experience
    LEP-5943opensso integration doesn't work with liferay portal 5.0.1 RC

Description

See http://blogs.sun.com/pdblog/entry/opensso_and_liferay_integration

Instead of a writing a few minor hooks and making some properties changes, you just go to the GUI now.

Enterprise Admin -> Settings -> Authentication -> OpenSSO

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions Summary
  • Commits
Hide
Permalink
john wang added a comment - 27/Feb/08 4:15 PM

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

Show
john wang added a comment - 27/Feb/08 4:15 PM 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
Hide
Permalink
john wang added a comment - 27/Feb/08 4:15 PM

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

Show
john wang added a comment - 27/Feb/08 4:15 PM 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
Hide
Permalink
James Min added a comment - 03/Apr/08 7:09 AM

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.

Show
James Min added a comment - 03/Apr/08 7:09 AM 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.
Hide
Permalink
Prashant Dighe added a comment - 14/May/08 2:18 PM

mistook commit for self assign...reopening

Show
Prashant Dighe added a comment - 14/May/08 2:18 PM mistook commit for self assign...reopening
Hide
Permalink
Prashant Dighe added a comment - 25/Jan/09 6:31 PM

Appears to be same as LEP-5187

Show
Prashant Dighe added a comment - 25/Jan/09 6:31 PM Appears to be same as LEP-5187

People

  • Assignee:
    Prashant Dighe
    Reporter:
    Brian Chan
Vote (3)
Watch (3)

Dates

  • Created:
    24/Oct/07 3:17 PM
    Updated:
    25/Jan/09 6:31 PM
    Resolved:
    25/Jan/09 6:31 PM

Agile

  • View on Board
  • Atlassian JIRA (v5.2.11#854-sha1:ef00d61)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Liferay. Try JIRA - bug tracking software for your team.