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-6273

Cache PermissionCheckerBag for the user's session

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

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 4.4.2, 5.0.1
  • Fix Version/s: 5.2.0
  • Component/s: None
  • Labels:
    None
  • Similar Issues:
    Show 5 results 

    LEP-2303Caching of permissions in the session
    LEP-3307Better Cache expiration defaults
    LEP-137Cannot serialize session attribute CACHE_PORTLET_RESPONSES for session
    LEP-3625Session Tracking not updated if user closes web browser or if session times out
    LEP-3241Auto session extender

Description

PermissionCheckerBag is a container for all the user's Group and Role associations per community. This object is created on every request and stored in the PermissionChecker. We should cache this object for the users entire session to improve performance.

Of course changes to the users role and group associations won't take affect until next login. We may want to make this a property.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions Summary
  • Commits
Hide
Permalink
Olaf Fricke added a comment - 15/Jun/08 1:02 PM - Restricted to

Hi Brian, hi Joseph,

you may take a look into LEP-2303. I implemented a session cache for permissions already for liferay 4.2.0. Some weeks ago I updated my solution for liferay 4.3.3 and even made it work with impersonation.

Best regards,
Olaf

Show
Olaf Fricke added a comment - 15/Jun/08 1:02 PM - Restricted to Hi Brian, hi Joseph, you may take a look into LEP-2303 . I implemented a session cache for permissions already for liferay 4.2.0. Some weeks ago I updated my solution for liferay 4.3.3 and even made it work with impersonation. Best regards, Olaf

People

  • Assignee:
    Brian Chan
    Reporter:
    Joseph Shum
Vote (0)
Watch (4)

Dates

  • Created:
    12/Jun/08 12:19 AM
    Updated:
    17/Jul/08 9:41 AM
    Resolved:
    17/Jul/08 9:41 AM

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.