You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2017/04/05 07:50:41 UTC

[jira] [Created] (OAK-6035) Mark AbstractLoginModule and Authentication as provider types

Robert Munteanu created OAK-6035:
------------------------------------

             Summary: Mark AbstractLoginModule and Authentication as provider types
                 Key: OAK-6035
                 URL: https://issues.apache.org/jira/browse/OAK-6035
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: security
    Affects Versions: 1.7.0, 1.8
            Reporter: Robert Munteanu


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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)