Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6035

Mark AbstractLoginModule and Authentication as provider types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0, 1.8.0
    • 1.7.0, 1.8.0
    • security

    Description

      With OAK-5903 the AbstractLoginModule and Authentication interfaces received new methods and the exported package version was bumped from 1.1.0 to 2..0.0. This is unfortunately a breaking change for anyone importing the org.apache.jackrabbit.oak.spi.security.authentication, including Sling's oak-server module.

      To me these classes do not look as they are usually implemented by clients, but part of an SPI implemented mostly by oak-core, e.g. they are 'provider types' in OSGi vocabulary.

      I've marked them with the @ProviderType annotation which allows the exported package version to only be increased to 1.2.0 and allows consumer to reference those packages without changing import ranges across all Oak version.

      Attachments

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              rombert Robert Munteanu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: