Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-872

PermissionSecurityHandler for LDAP

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Later
    • 2.2.0
    • None
    • Security
    • None

    Description

      Right now, Jetspeed only has a database based PermissionManagerImpl.
      In contrast to the other security components for User,Role,Group there is no corresponding PermissionSecurityHandler for abstracting the backend implementation.
      Adding a PermissionSecurityHandler and corresponding DefaultPermissionSecurityHandler (for the database) and a LdapPermissionSecurityHandler
      also requires extending the SecurityMappingHandler interface and delegating the current db access in PermissionManagerImpl to the PermissionSecurityHandler.

      Related to this is the RdbmsPolicy class (name) which really hooks the PermissionManager into the Java security system.
      Although this class is call RdbmsPolicy, actually it has no ties to the database at all, only to the PermissionManager.
      By providing an LDAP backend for the permissions, we can still use the RdbmsPolicy, nevermind its name
      But maybe we should rename it to JetspeedPolicy in the future for clarity.

      Attachments

        Issue Links

          Activity

            People

              ate Ate Douma
              ate Ate Douma
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified

                  Slack

                    Issue deployment