Jackrabbit Oak
  1. Jackrabbit Oak
  2. OAK-91 Implement Authentication Support
  3. OAK-696

Support usage of JAAS based authentication with Repository in OSGi

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: core
    • Labels:
      None

      Description

      Apache OAK might also run in an OSGi environment.

      It would be nice to have OAK supporting JAAS based authentication as provided by Apache Felix in FELIX-3705.

      1. OAK-696.patch
        1 kB
        Antonio Sanso

        Activity

        Hide
        angela added a comment -

        thanks!

        Show
        angela added a comment - thanks!
        Hide
        Chetan Mehrotra added a comment -

        I changed the import for org.apache.felix.jaas.boot package to DynamicImport-Package as its an optional dependency and required if JAAS OSGi related logic is triggered (Rev 1458645)

        Show
        Chetan Mehrotra added a comment - I changed the import for org.apache.felix.jaas.boot package to DynamicImport-Package as its an optional dependency and required if JAAS OSGi related logic is triggered (Rev 1458645)
        Hide
        angela added a comment -

        applied patch and additionally added the ldap-login module.
        as discussed i moved at the same time the the login module implementations (and associated classes and tests) back to internal packages that are not exported.

        Show
        angela added a comment - applied patch and additionally added the ldap-login module. as discussed i moved at the same time the the login module implementations (and associated classes and tests) back to internal packages that are not exported.
        Hide
        Antonio Sanso added a comment - - edited

        angela thanks

        Show
        Antonio Sanso added a comment - - edited angela thanks
        Hide
        angela added a comment -

        ok... i will move back the loginmodules in that case.

        Show
        angela added a comment - ok... i will move back the loginmodules in that case.
        Hide
        Antonio Sanso added a comment -

        I have attached a simple patch that will allow to leverage the features as for FELIX-3705.
        I will put some basic documentation in [0].

        I should also remark that is not needed to export the login modules in the oak-core as previously stated by me.
        I have checked this with Chetan Mehrotra and he point me out the right approach. Apologies for misleading...

        [0] http://wiki.apache.org/jackrabbit/Support%20usage%20of%20JAAS%20based%20authentication%20with%20Repository%20in%20OSGi

        Show
        Antonio Sanso added a comment - I have attached a simple patch that will allow to leverage the features as for FELIX-3705 . I will put some basic documentation in [0] . I should also remark that is not needed to export the login modules in the oak-core as previously stated by me. I have checked this with Chetan Mehrotra and he point me out the right approach. Apologies for misleading... [0] http://wiki.apache.org/jackrabbit/Support%20usage%20of%20JAAS%20based%20authentication%20with%20Repository%20in%20OSGi
        Hide
        Antonio Sanso added a comment -

        attaching simple patch

        Show
        Antonio Sanso added a comment - attaching simple patch
        Hide
        angela added a comment -

        sure...

        Show
        angela added a comment - sure...

          People

          • Assignee:
            angela
            Reporter:
            Antonio Sanso
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development