[jira] [Commented] (SLING-11906) Migrate to slf4j 2.x
[ https://issues.apache.org/jira/browse/SLING-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866458#comment-17866458 ] Eric Norman commented on SLING-11906: - [~reschke] Probably not easier since the provider class name provided by that slf4j.provider system property also has to be visible to the slf4j.api bundle classloader. The classloading workaround is one of the problems that the serviceloader mediator is solving. > Migrate to slf4j 2.x > > > Key: SLING-11906 > URL: https://issues.apache.org/jira/browse/SLING-11906 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Commons Log 6.0.0 > > > Increasingly more libraries have been migrating to slf4j 2.x (for example > logback 1.3+, tika 2.5+ and jetty 10+) > To be compatible with those, the sling commons log bundle should migrate to > slf4j v2.x (and logback v1.4.x or v1.3.x?) > It looks like slf4j 2.x exports both 2.x and 1.7.36 versions of the exported > packages, so it should hopefully be compatible with existing bundles that are > importing the 1.x version of the slf4j packages. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (SLING-12313) bump oak.version to 1.62.0 for compatibility
[ https://issues.apache.org/jira/browse/SLING-12313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-12313: Summary: bump oak.version to 1.62.0 for compatibility (was: bump oak.version 1.62.0 for compatibility) > bump oak.version to 1.62.0 for compatibility > > > Key: SLING-12313 > URL: https://issues.apache.org/jira/browse/SLING-12313 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Oak Server 1.4.2 > > > Oak 1.62.0 has bumped the version of the shaded guava packages to a new major > version (from 32 to 33) which results in a failure to resolve the > o.a.sling.jcr.oak.server bundle with that version of the Oak bundles. > {code:java} > org.osgi.framework.BundleException: Unable to resolve > org.apache.sling.jcr.oak.server [144](R 144.0): missing requirement > [org.apache.sling.jcr.oak.server [144](R 144.0)] osgi.wiring.package; > (&(osgi.wiring.package=org.apache.jackrabbit.guava.common.base)(version>=32.1.0)(!(version>=33.0.0))) > Unresolved requirements: [[org.apache.sling.jcr.oak.server [144](R 144.0)] > osgi.wiring.package; > (&(osgi.wiring.package=org.apache.jackrabbit.guava.common.base)(version>=32.1.0)(!(version>=33.0.0)))] > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12313) bump oak.version 1.62.0 for compatibility
Eric Norman created SLING-12313: --- Summary: bump oak.version 1.62.0 for compatibility Key: SLING-12313 URL: https://issues.apache.org/jira/browse/SLING-12313 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Oak Server 1.4.2 Oak 1.62.0 has bumped the version of the shaded guava packages to a new major version (from 32 to 33) which results in a failure to resolve the o.a.sling.jcr.oak.server bundle with that version of the Oak bundles. {code:java} org.osgi.framework.BundleException: Unable to resolve org.apache.sling.jcr.oak.server [144](R 144.0): missing requirement [org.apache.sling.jcr.oak.server [144](R 144.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.guava.common.base)(version>=32.1.0)(!(version>=33.0.0))) Unresolved requirements: [[org.apache.sling.jcr.oak.server [144](R 144.0)] osgi.wiring.package; (&(osgi.wiring.package=org.apache.jackrabbit.guava.common.base)(version>=32.1.0)(!(version>=33.0.0)))] {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12312) add jakarta.servlet support in RequestLocaleResolver
Eric Norman created SLING-12312: --- Summary: add jakarta.servlet support in RequestLocaleResolver Key: SLING-12312 URL: https://issues.apache.org/jira/browse/SLING-12312 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: i18n 2.6.4 provide a variant of the RequestLocaleResolver#resolveLocale call that accepts a jakarta.servlet.http.HttpServletRequest for use cases that have migrated to EE9 or later. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12310) Fix test compatibility with java 17
[ https://issues.apache.org/jira/browse/SLING-12310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12310. - Resolution: Fixed Merged PR at: [{{7437226}}|https://github.com/apache/sling-org-apache-sling-i18n/commit/7437226790f34737f29c1e99fa219afdde9d44ad] > Fix test compatibility with java 17 > --- > > Key: SLING-12310 > URL: https://issues.apache.org/jira/browse/SLING-12310 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: i18n 2.6.4 > > > Some of the tests are failing when building with java 17. > * bump oak/jackrabbit dependencies to the oldest still supported and > compatible version > * replace powermock usage with mockito > * replace dependency on org.apache.sling.commons.testing with sling mocks > equivalent > * update various dependency versions to compatible versions > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12310) Fix test compatibility with java 17
Eric Norman created SLING-12310: --- Summary: Fix test compatibility with java 17 Key: SLING-12310 URL: https://issues.apache.org/jira/browse/SLING-12310 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: i18n 2.6.4 Some of the tests are failing when building with java 17. * bump oak/jackrabbit dependencies to the oldest still supported and compatible version * replace powermock usage with mockito * replace dependency on org.apache.sling.commons.testing with sling mocks equivalent * update various dependency versions to compatible versions -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (SLING-12300) Provide a way to retrieve a JCR backed resource by its node identifier
[ https://issues.apache.org/jira/browse/SLING-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839407#comment-17839407 ] Eric Norman commented on SLING-12300: - [~paul.bjorkstrand] It offends me that you and [~radu] continue to trivialize my concerns as "security by obscurity". That is not my argument and it never was, so please stop doing that. > Provide a way to retrieve a JCR backed resource by its node identifier > -- > > Key: SLING-12300 > URL: https://issues.apache.org/jira/browse/SLING-12300 > Project: Sling > Issue Type: New Feature > Components: JCR >Reporter: Radu Cotescu >Assignee: Radu Cotescu >Priority: Major > Fix For: JCR Resource 3.3.0 > > > Since all {{javax.jcr.Nodes}} have an identifier [0], a useful feature would > be {{Resource}} retrieval by node id, which could be its {{jcr:uuid}} > property for referenceable nodes or the path. In systems that would like to > use UUID addressing, this would reduce the need for executing JCR queries for > resource retrieval and would avoid double-reads via the JCR and then Sling > API to obtain the resource. > In order to provide a unified behaviour, paths starting with the {{/jcr:id/}} > prefix should use the resource retrieval by node identifier. > [0] - > https://javadoc.io/static/javax.jcr/jcr/2.0/javax/jcr/Node.html#getIdentifier() -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (SLING-12300) Provide a way to retrieve a JCR backed resource by its node identifier
[ https://issues.apache.org/jira/browse/SLING-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839155#comment-17839155 ] Eric Norman edited comment on SLING-12300 at 4/19/24 11:40 PM: --- [~radu] I know how long a UUID value is, how it is formatted and what characters are allowed in there. That is a much smaller universe then all the possible paths that may exist. I still haven't seen a good reason why this is needed. was (Author: enorman): [~radu] I know how long a UUID value is, how it is formatted and what characters are allowed in there. That is a much smaller universe then all the possible paths that may exist. I still having seen a good reason why this is needed. > Provide a way to retrieve a JCR backed resource by its node identifier > -- > > Key: SLING-12300 > URL: https://issues.apache.org/jira/browse/SLING-12300 > Project: Sling > Issue Type: New Feature > Components: JCR >Reporter: Radu Cotescu >Assignee: Radu Cotescu >Priority: Major > Fix For: JCR Resource 3.3.0 > > > Since all {{javax.jcr.Nodes}} have an identifier [0], a useful feature would > be {{Resource}} retrieval by node id, which could be its {{jcr:uuid}} > property for referenceable nodes or the path. In systems that would like to > use UUID addressing, this would reduce the need for executing JCR queries for > resource retrieval and would avoid double-reads via the JCR and then Sling > API to obtain the resource. > In order to provide a unified behaviour, paths starting with the {{/jcr:id/}} > prefix should use the resource retrieval by node identifier. > [0] - > https://javadoc.io/static/javax.jcr/jcr/2.0/javax/jcr/Node.html#getIdentifier() -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (SLING-12300) Provide a way to retrieve a JCR backed resource by its node identifier
[ https://issues.apache.org/jira/browse/SLING-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839155#comment-17839155 ] Eric Norman commented on SLING-12300: - [~radu] I know how long a UUID value is, how it is formatted and what characters are allowed in there. That is a much smaller universe then all the possible paths that may exist. I still having seen a good reason why this is needed. > Provide a way to retrieve a JCR backed resource by its node identifier > -- > > Key: SLING-12300 > URL: https://issues.apache.org/jira/browse/SLING-12300 > Project: Sling > Issue Type: New Feature > Components: JCR >Reporter: Radu Cotescu >Assignee: Radu Cotescu >Priority: Major > Fix For: JCR Resource 3.3.0 > > > Since all {{javax.jcr.Nodes}} have an identifier [0], a useful feature would > be {{Resource}} retrieval by node id, which could be its {{jcr:uuid}} > property for referenceable nodes or the path. In systems that would like to > use UUID addressing, this would reduce the need for executing JCR queries for > resource retrieval and would avoid double-reads via the JCR and then Sling > API to obtain the resource. > In order to provide a unified behaviour, paths starting with the {{/jcr:id/}} > prefix should use the resource retrieval by node identifier. > [0] - > https://javadoc.io/static/javax.jcr/jcr/2.0/javax/jcr/Node.html#getIdentifier() -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (SLING-12300) Provide a way to retrieve a JCR backed resource by its node identifier
[ https://issues.apache.org/jira/browse/SLING-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839145#comment-17839145 ] Eric Norman commented on SLING-12300: - [~radu] the size of the number is irrelevant. I could get a match on the first try if I get lucky. Basically, I'm not putting a server on the public internet with predictable addresses. The resource path is the only address I need. I'm not sure this solution is necessary for general usage and you can make a private implementation for your use case if you really need it. > Provide a way to retrieve a JCR backed resource by its node identifier > -- > > Key: SLING-12300 > URL: https://issues.apache.org/jira/browse/SLING-12300 > Project: Sling > Issue Type: New Feature > Components: JCR >Reporter: Radu Cotescu >Assignee: Radu Cotescu >Priority: Major > Fix For: JCR Resource 3.3.0 > > > Since all {{javax.jcr.Nodes}} have an identifier [0], a useful feature would > be {{Resource}} retrieval by node id, which could be its {{jcr:uuid}} > property for referenceable nodes or the path. In systems that would like to > use UUID addressing, this would reduce the need for executing JCR queries for > resource retrieval and would avoid double-reads via the JCR and then Sling > API to obtain the resource. > In order to provide a unified behaviour, paths starting with the {{/jcr:id/}} > prefix should use the resource retrieval by node identifier. > [0] - > https://javadoc.io/static/javax.jcr/jcr/2.0/javax/jcr/Node.html#getIdentifier() -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (SLING-12300) Provide a way to retrieve a JCR backed resource by its node identifier
[ https://issues.apache.org/jira/browse/SLING-12300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17839135#comment-17839135 ] Eric Norman commented on SLING-12300: - I think I would prefer that the uuid not be addressable so easily. That seems to be a security hole where someone could just do a brute force attack to try all the possible values and find paths that exist. > Provide a way to retrieve a JCR backed resource by its node identifier > -- > > Key: SLING-12300 > URL: https://issues.apache.org/jira/browse/SLING-12300 > Project: Sling > Issue Type: New Feature > Components: JCR >Reporter: Radu Cotescu >Assignee: Radu Cotescu >Priority: Major > Fix For: JCR Resource 3.3.0 > > > Since all {{javax.jcr.Nodes}} have an identifier [0], a useful feature would > be {{Resource}} retrieval by node id, which could be its {{jcr:uuid}} > property for referenceable nodes or the path. In systems that would like to > use UUID addressing, this would reduce the need for executing JCR queries for > resource retrieval and would avoid double-reads via the JCR and then Sling > API to obtain the resource. > In order to provide a unified behaviour, paths starting with the {{/jcr:id/}} > prefix should use the resource retrieval by node identifier. > [0] - > https://javadoc.io/static/javax.jcr/jcr/2.0/javax/jcr/Node.html#getIdentifier() -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (SLING-11906) Migrate to slf4j 2.x
[ https://issues.apache.org/jira/browse/SLING-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman reassigned SLING-11906: --- Assignee: Eric Norman > Migrate to slf4j 2.x > > > Key: SLING-11906 > URL: https://issues.apache.org/jira/browse/SLING-11906 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Commons Log 6.0.0 > > > Increasingly more libraries have been migrating to slf4j 2.x (for example > logback 1.3+, tika 2.5+ and jetty 10+) > To be compatible with those, the sling commons log bundle should migrate to > slf4j v2.x (and logback v1.4.x or v1.3.x?) > It looks like slf4j 2.x exports both 2.x and 1.7.36 versions of the exported > packages, so it should hopefully be compatible with existing bundles that are > importing the 1.x version of the slf4j packages. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12224) Remove dependency on org.apache.sling.jcr.base
[ https://issues.apache.org/jira/browse/SLING-12224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12224. --- > Remove dependency on org.apache.sling.jcr.base > -- > > Key: SLING-12224 > URL: https://issues.apache.org/jira/browse/SLING-12224 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 4.0.2 > > > Remove dependency on org.apache.sling.jcr.base since it is only used for > AccessControlUtil methods to access the UserManager and PrincipalManager. > Since this bundle is a jackrabbit/oak specific implementation we can use the > JackrabbitSession methods to accomplish the same without the dependency. > > This refactoring simplifies using sling mocks for tests that interact with > this code since you only need to mock the AccessControlManager itself and not > also the AccessControlUtil static methods. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12224) Remove dependency on org.apache.sling.jcr.base
[ https://issues.apache.org/jira/browse/SLING-12224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12224. - Resolution: Fixed Merged PR at: [{{7c0138c}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager/commit/7c0138c957cc1be15c72f62349636b4f5ffd4142] > Remove dependency on org.apache.sling.jcr.base > -- > > Key: SLING-12224 > URL: https://issues.apache.org/jira/browse/SLING-12224 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 4.0.2 > > > Remove dependency on org.apache.sling.jcr.base since it is only used for > AccessControlUtil methods to access the UserManager and PrincipalManager. > Since this bundle is a jackrabbit/oak specific implementation we can use the > JackrabbitSession methods to accomplish the same without the dependency. > > This refactoring simplifies using sling mocks for tests that interact with > this code since you only need to mock the AccessControlManager itself and not > also the AccessControlUtil static methods. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12224) Remove dependency on org.apache.sling.jcr.base
Eric Norman created SLING-12224: --- Summary: Remove dependency on org.apache.sling.jcr.base Key: SLING-12224 URL: https://issues.apache.org/jira/browse/SLING-12224 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit Access Manager 4.0.2 Remove dependency on org.apache.sling.jcr.base since it is only used for AccessControlUtil methods to access the UserManager and PrincipalManager. Since this bundle is a jackrabbit/oak specific implementation we can use the JackrabbitSession methods to accomplish the same without the dependency. This refactoring simplifies using sling mocks for tests that interact with this code since you only need to mock the AccessControlManager itself and not also the AccessControlUtil static methods. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12190) MockUser should provide more real password handling
[ https://issues.apache.org/jira/browse/SLING-12190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12190. --- > MockUser should provide more real password handling > --- > > Key: SLING-12190 > URL: https://issues.apache.org/jira/browse/SLING-12190 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > When creating a new user via the MockUserManager, the supplied user password > was being ignored. > To allow more real testing around the changing the password, the MockUser > password handling should be more real. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12168) Implement MockUserManager#createSystemUser
[ https://issues.apache.org/jira/browse/SLING-12168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12168. --- > Implement MockUserManager#createSystemUser > -- > > Key: SLING-12168 > URL: https://issues.apache.org/jira/browse/SLING-12168 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > Provide a basic implementation of the MockUserManager#createSystemUser method. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12195) MockUser use a property on the home node for the disabled state
[ https://issues.apache.org/jira/browse/SLING-12195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12195. --- > MockUser use a property on the home node for the disabled state > --- > > Key: SLING-12195 > URL: https://issues.apache.org/jira/browse/SLING-12195 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > Instead of managing the disabled state as a field of MockUser, it should be > stored as a property on the user's home node. > This ensures that the disabled state remains available when a new > ResourceResolver is created via > ResourceResolverFactory#getServiceResourceResolver > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12167) MockAuthorizable setProperty(String, Value[]) should create any missing intermediate nodes
[ https://issues.apache.org/jira/browse/SLING-12167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12167. --- > MockAuthorizable setProperty(String, Value[]) should create any missing > intermediate nodes > -- > > Key: SLING-12167 > URL: https://issues.apache.org/jira/browse/SLING-12167 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > MockAuthorizable setProperty(String, Value[]) should create any missing > intermediate nodes > If the relPath argument contains multiple segments, then any missing > intermediate nodes should be autocreated -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12166) MockUserManager getAuthorizable(String, Class) should return null if the authorizable does not exist
[ https://issues.apache.org/jira/browse/SLING-12166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12166. --- > MockUserManager getAuthorizable(String, Class) should return null if the > authorizable does not exist > > > Key: SLING-12166 > URL: https://issues.apache.org/jira/browse/SLING-12166 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > MockUserManager#getAuthorizable(String, Class) should return null if the user > or group does not exist. Currently it throws a AuthorizableTypeException > instead. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12196) allowSelfChangePassword config key does not match
[ https://issues.apache.org/jira/browse/SLING-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12196. --- > allowSelfChangePassword config key does not match > - > > Key: SLING-12196 > URL: https://issues.apache.org/jira/browse/SLING-12196 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > The ChangeUserPasswordServlet$Config OCD defines the "Allow Self Password > Change" value that uses the "allowSelfChangePassword" key. > Unfortunately, the ChangeUserPasswordServlet#activate and > AuthorizablePrivilegesInfoImpl#bindChangeUserPassword code was using > "alwaysAllowSelfChangePassword" as the config property name which does not > match the name defined in the config definition. > > Expected: > Change the code to use the correct property name. Also, provide backward > compatibility by checking for the old name as well and log a warning to > prompt the user to update their configuration. > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12185) AuthorizableResourceProvider getResource matches wrong prefix
[ https://issues.apache.org/jira/browse/SLING-12185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12185. --- > AuthorizableResourceProvider getResource matches wrong prefix > - > > Key: SLING-12185 > URL: https://issues.apache.org/jira/browse/SLING-12185 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > resourceResolver.getResource("/userManager/user/group1") returns a resource > object when it should return null because the path of the group resource is > actually "/userManager/group/group1" > > Expected: > The AuthorizableResourceProvider needs to check the type of the found > Authorizable to ensure that the object type matches the expected resource > path prefix before using it to return an AuthorizableResource. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12203) Remove dependency on org.apache.sling.jcr.base
[ https://issues.apache.org/jira/browse/SLING-12203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12203. --- > Remove dependency on org.apache.sling.jcr.base > -- > > Key: SLING-12203 > URL: https://issues.apache.org/jira/browse/SLING-12203 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > Remove dependency on org.apache.sling.jcr.base since it is only used for > AccessControlUtil methods to access the UserManager and PrincipalManager. > Since this bundle is a jackrabbit/oak specific implementation we can use the > JackrabbitSession methods to accomplish the same without the dependency. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12202) add AuthorizablePrivilegesInfo#canChangePasswordWithoutOldPassword
[ https://issues.apache.org/jira/browse/SLING-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12202. --- > add AuthorizablePrivilegesInfo#canChangePasswordWithoutOldPassword > -- > > Key: SLING-12202 > URL: https://issues.apache.org/jira/browse/SLING-12202 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > The AuthorizablePrivilegesInfo should have a > canChangePasswordWithoutOldPassword method that can be called to tell if the > current user can change the password of another user without knowing the > original password of that user. This currently means the current user must > the be the admin user or a member of the configured UserAdmin group. > This would be a convenience so that "change password" UI can more easily > determine the appropriate fields to render on screen without having to > duplicate logic from the ChangeUserPasswordServlet. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12203) Remove dependency on org.apache.sling.jcr.base
[ https://issues.apache.org/jira/browse/SLING-12203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12203. - Resolution: Fixed Merged PR at: [{{e92e8a8}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/e92e8a8d89fafbd1f873c32b4851bf878a3457d3] > Remove dependency on org.apache.sling.jcr.base > -- > > Key: SLING-12203 > URL: https://issues.apache.org/jira/browse/SLING-12203 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > Remove dependency on org.apache.sling.jcr.base since it is only used for > AccessControlUtil methods to access the UserManager and PrincipalManager. > Since this bundle is a jackrabbit/oak specific implementation we can use the > JackrabbitSession methods to accomplish the same without the dependency. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12202) add AuthorizablePrivilegesInfo#canChangePasswordWithoutOldPassword
[ https://issues.apache.org/jira/browse/SLING-12202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12202. - Resolution: Fixed Merged PR at: [{{abea574}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/abea5742f5bd668685a0407f0ff7de686d6a733e] > add AuthorizablePrivilegesInfo#canChangePasswordWithoutOldPassword > -- > > Key: SLING-12202 > URL: https://issues.apache.org/jira/browse/SLING-12202 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > The AuthorizablePrivilegesInfo should have a > canChangePasswordWithoutOldPassword method that can be called to tell if the > current user can change the password of another user without knowing the > original password of that user. This currently means the current user must > the be the admin user or a member of the configured UserAdmin group. > This would be a convenience so that "change password" UI can more easily > determine the appropriate fields to render on screen without having to > duplicate logic from the ChangeUserPasswordServlet. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12203) Remove dependency on org.apache.sling.jcr.base
Eric Norman created SLING-12203: --- Summary: Remove dependency on org.apache.sling.jcr.base Key: SLING-12203 URL: https://issues.apache.org/jira/browse/SLING-12203 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.30 Remove dependency on org.apache.sling.jcr.base since it is only used for AccessControlUtil methods to access the UserManager and PrincipalManager. Since this bundle is a jackrabbit/oak specific implementation we can use the JackrabbitSession methods to accomplish the same without the dependency. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12202) add AuthorizablePrivilegesInfo#canChangePasswordWithoutOldPassword
Eric Norman created SLING-12202: --- Summary: add AuthorizablePrivilegesInfo#canChangePasswordWithoutOldPassword Key: SLING-12202 URL: https://issues.apache.org/jira/browse/SLING-12202 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.30 The AuthorizablePrivilegesInfo should have a canChangePasswordWithoutOldPassword method that can be called to tell if the current user can change the password of another user without knowing the original password of that user. This currently means the current user must the be the admin user or a member of the configured UserAdmin group. This would be a convenience so that "change password" UI can more easily determine the appropriate fields to render on screen without having to duplicate logic from the ChangeUserPasswordServlet. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12196) allowSelfChangePassword config key does not match
[ https://issues.apache.org/jira/browse/SLING-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12196. - Resolution: Fixed Merged PR at: [{{84c75c5}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/84c75c5f242db21d199ca472b65929f3f8d85bc3] > allowSelfChangePassword config key does not match > - > > Key: SLING-12196 > URL: https://issues.apache.org/jira/browse/SLING-12196 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > The ChangeUserPasswordServlet$Config OCD defines the "Allow Self Password > Change" value that uses the "allowSelfChangePassword" key. > Unfortunately, the ChangeUserPasswordServlet#activate and > AuthorizablePrivilegesInfoImpl#bindChangeUserPassword code was using > "alwaysAllowSelfChangePassword" as the config property name which does not > match the name defined in the config definition. > > Expected: > Change the code to use the correct property name. Also, provide backward > compatibility by checking for the old name as well and log a warning to > prompt the user to update their configuration. > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12195) MockUser use a property on the home node for the disabled state
[ https://issues.apache.org/jira/browse/SLING-12195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12195. - Resolution: Fixed Merged PR at: [{{3b2a6bf}}|https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/commit/3b2a6bf5131cd82bab50939ed7f2e79aeb0bf08a] > MockUser use a property on the home node for the disabled state > --- > > Key: SLING-12195 > URL: https://issues.apache.org/jira/browse/SLING-12195 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > Instead of managing the disabled state as a field of MockUser, it should be > stored as a property on the user's home node. > This ensures that the disabled state remains available when a new > ResourceResolver is created via > ResourceResolverFactory#getServiceResourceResolver > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12196) allowSelfChangePassword config key does not match
Eric Norman created SLING-12196: --- Summary: allowSelfChangePassword config key does not match Key: SLING-12196 URL: https://issues.apache.org/jira/browse/SLING-12196 Project: Sling Issue Type: Bug Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.30 The ChangeUserPasswordServlet$Config OCD defines the "Allow Self Password Change" value that uses the "allowSelfChangePassword" key. Unfortunately, the ChangeUserPasswordServlet#activate and AuthorizablePrivilegesInfoImpl#bindChangeUserPassword code was using "alwaysAllowSelfChangePassword" as the config property name which does not match the name defined in the config definition. Expected: Change the code to use the correct property name. Also, provide backward compatibility by checking for the old name as well and log a warning to prompt the user to update their configuration. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (SLING-12195) MockUser use a property on the home node for the disabled state
[ https://issues.apache.org/jira/browse/SLING-12195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-12195: Description: Instead of managing the disabled state as a field of MockUser, it should be stored as a property on the user's home node. This ensures that the disabled state remains available when a new ResourceResolver is created via ResourceResolverFactory#getServiceResourceResolver was: Instead of managing the disabled state as a field of MockUser, it should stored as a property on the user's home node. This ensures that the disabled state remains available when a new ResourceResolver is created via ResourceResolverFactory#getServiceResourceResolver > MockUser use a property on the home node for the disabled state > --- > > Key: SLING-12195 > URL: https://issues.apache.org/jira/browse/SLING-12195 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > Instead of managing the disabled state as a field of MockUser, it should be > stored as a property on the user's home node. > This ensures that the disabled state remains available when a new > ResourceResolver is created via > ResourceResolverFactory#getServiceResourceResolver > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12195) MockUser use a property on the home node for the disabled state
Eric Norman created SLING-12195: --- Summary: MockUser use a property on the home node for the disabled state Key: SLING-12195 URL: https://issues.apache.org/jira/browse/SLING-12195 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: Testing JCR Mock 1.6.12 Instead of managing the disabled state as a field of MockUser, it should stored as a property on the user's home node. This ensures that the disabled state remains available when a new ResourceResolver is created via ResourceResolverFactory#getServiceResourceResolver -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12190) MockUser should provide more real password handling
[ https://issues.apache.org/jira/browse/SLING-12190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12190. - Resolution: Fixed Merged PR at: [{{a27a118}}|https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/commit/a27a11874d605793579a2f951a2097a5829d0073] > MockUser should provide more real password handling > --- > > Key: SLING-12190 > URL: https://issues.apache.org/jira/browse/SLING-12190 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > When creating a new user via the MockUserManager, the supplied user password > was being ignored. > To allow more real testing around the changing the password, the MockUser > password handling should be more real. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12190) MockUser should provide more real password handling
Eric Norman created SLING-12190: --- Summary: MockUser should provide more real password handling Key: SLING-12190 URL: https://issues.apache.org/jira/browse/SLING-12190 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: Testing JCR Mock 1.6.12 When creating a new user via the MockUserManager, the supplied user password was being ignored. To allow more real testing around the changing the password, the MockUser password handling should be more real. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12168) Implement MockUserManager#createSystemUser
[ https://issues.apache.org/jira/browse/SLING-12168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12168. - Resolution: Fixed Merged PR at: [{{7929b38}}|https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/commit/7929b388537494b0d77fd6a12ef4352e30a75784] > Implement MockUserManager#createSystemUser > -- > > Key: SLING-12168 > URL: https://issues.apache.org/jira/browse/SLING-12168 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > Provide a basic implementation of the MockUserManager#createSystemUser method. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12185) AuthorizableResourceProvider getResource matches wrong prefix
[ https://issues.apache.org/jira/browse/SLING-12185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12185. - Resolution: Fixed Merged PR at: [{{bfa57e7}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/bfa57e790ccd2c47440223e6482b5da46090f148] > AuthorizableResourceProvider getResource matches wrong prefix > - > > Key: SLING-12185 > URL: https://issues.apache.org/jira/browse/SLING-12185 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.30 > > > resourceResolver.getResource("/userManager/user/group1") returns a resource > object when it should return null because the path of the group resource is > actually "/userManager/group/group1" > > Expected: > The AuthorizableResourceProvider needs to check the type of the found > Authorizable to ensure that the object type matches the expected resource > path prefix before using it to return an AuthorizableResource. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12185) AuthorizableResourceProvider getResource matches wrong prefix
Eric Norman created SLING-12185: --- Summary: AuthorizableResourceProvider getResource matches wrong prefix Key: SLING-12185 URL: https://issues.apache.org/jira/browse/SLING-12185 Project: Sling Issue Type: Bug Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.30 resourceResolver.getResource("/userManager/user/group1") returns a resource object when it should return null because the path of the group resource is actually "/userManager/group/group1" Expected: The AuthorizableResourceProvider needs to check the type of the found Authorizable to ensure that the object type matches the expected resource path prefix before using it to return an AuthorizableResource. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (SLING-12168) Implement MockUserManager#createSystemUser
[ https://issues.apache.org/jira/browse/SLING-12168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-12168: Description: Provide a basic implementation of the MockUserManager#createSystemUser method. (was: Provide a basic Implement of the MockUserManager#createSystemUser method.) > Implement MockUserManager#createSystemUser > -- > > Key: SLING-12168 > URL: https://issues.apache.org/jira/browse/SLING-12168 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > Provide a basic implementation of the MockUserManager#createSystemUser method. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12167) MockAuthorizable setProperty(String, Value[]) should create any missing intermediate nodes
[ https://issues.apache.org/jira/browse/SLING-12167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12167. - Resolution: Fixed Merged PR at: [{{f9c25bc}}|https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/commit/f9c25bcb718f6f83e52d683757c57c24d132cdbd] > MockAuthorizable setProperty(String, Value[]) should create any missing > intermediate nodes > -- > > Key: SLING-12167 > URL: https://issues.apache.org/jira/browse/SLING-12167 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > MockAuthorizable setProperty(String, Value[]) should create any missing > intermediate nodes > If the relPath argument contains multiple segments, then any missing > intermediate nodes should be autocreated -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12166) MockUserManager getAuthorizable(String, Class) should return null if the authorizable does not exist
[ https://issues.apache.org/jira/browse/SLING-12166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12166. - Resolution: Fixed Merged PR at: [{{34c4370}}|https://github.com/apache/sling-org-apache-sling-testing-jcr-mock/commit/34c437066edd7fb74ee4ab8d68c425bbd315e8a5] > MockUserManager getAuthorizable(String, Class) should return null if the > authorizable does not exist > > > Key: SLING-12166 > URL: https://issues.apache.org/jira/browse/SLING-12166 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Testing JCR Mock 1.6.12 > > > MockUserManager#getAuthorizable(String, Class) should return null if the user > or group does not exist. Currently it throws a AuthorizableTypeException > instead. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12168) Implement MockUserManager#createSystemUser
Eric Norman created SLING-12168: --- Summary: Implement MockUserManager#createSystemUser Key: SLING-12168 URL: https://issues.apache.org/jira/browse/SLING-12168 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: Testing JCR Mock 1.6.12 Provide a basic Implement of the MockUserManager#createSystemUser method. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12167) MockAuthorizable setProperty(String, Value[]) should create any missing intermediate nodes
Eric Norman created SLING-12167: --- Summary: MockAuthorizable setProperty(String, Value[]) should create any missing intermediate nodes Key: SLING-12167 URL: https://issues.apache.org/jira/browse/SLING-12167 Project: Sling Issue Type: Bug Reporter: Eric Norman Assignee: Eric Norman Fix For: Testing JCR Mock 1.6.12 MockAuthorizable setProperty(String, Value[]) should create any missing intermediate nodes If the relPath argument contains multiple segments, then any missing intermediate nodes should be autocreated -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12166) MockUserManager getAuthorizable(String, Class) should return null if the authorizable does not exist
Eric Norman created SLING-12166: --- Summary: MockUserManager getAuthorizable(String, Class) should return null if the authorizable does not exist Key: SLING-12166 URL: https://issues.apache.org/jira/browse/SLING-12166 Project: Sling Issue Type: Bug Reporter: Eric Norman Assignee: Eric Norman Fix For: Testing JCR Mock 1.6.12 MockUserManager#getAuthorizable(String, Class) should return null if the user or group does not exist. Currently it throws a AuthorizableTypeException instead. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-11664) the starter acl/ace pages have visible licence text at the top of the page
[ https://issues.apache.org/jira/browse/SLING-11664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-11664. --- > the starter acl/ace pages have visible licence text at the top of the page > -- > > Key: SLING-11664 > URL: https://issues.apache.org/jira/browse/SLING-11664 > Project: Sling > Issue Type: Bug >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Minor > Fix For: Starter Content 1.0.14 > > Time Spent: 0.5h > Remaining Estimate: 0h > > The > [acl.html.esp|https://github.com/apache/sling-org-apache-sling-starter-content/blob/master/src/main/resources/initial-content/apps/sling/servlet/default/acl.html.esp] > and > [ace.html.esp|https://github.com/apache/sling-org-apache-sling-starter-content/blob/master/src/main/resources/initial-content/apps/sling/servlet/default/ace.html.esp] > scripts are using the wrong style of comments around the license text which > causes the licence text to be visible at the top of the page. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12112) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12112. --- > Update to Sling Bundle Parent 52 > > > Key: SLING-12112 > URL: https://issues.apache.org/jira/browse/SLING-12112 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Starter Content 1.0.14 > > > Update to Sling Bundle Parent 52 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-11674) update the acl/ace pages for new SLING-11243 features
[ https://issues.apache.org/jira/browse/SLING-11674?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-11674. --- > update the acl/ace pages for new SLING-11243 features > - > > Key: SLING-11674 > URL: https://issues.apache.org/jira/browse/SLING-11674 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Starter Content 1.0.14 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > SLING-11243 added features to allow modifying an ace with more specific > restriction details > The existing acl/ace sample pages in the starter content should be updated to > demonstrate these enhancements. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12082) Migrate org.apache.sling.starter.content to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12082. --- > Migrate org.apache.sling.starter.content to jakarta.json > > > Key: SLING-12082 > URL: https://issues.apache.org/jira/browse/SLING-12082 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Starter Content 1.0.14 > > > After SLING-12081, then related changes are required to > org.apache.sling.starter.content to compensate. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12008) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12008. --- > Update to Sling Bundle Parent 52 > > > Key: SLING-12008 > URL: https://issues.apache.org/jira/browse/SLING-12008 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 4.0.0 > > > Update to Sling Bundle Parent 52 > Also replace the usages of dependencies that are not in the banned set. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12022) Fix test compatibility with java 17
[ https://issues.apache.org/jira/browse/SLING-12022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12022. --- > Fix test compatibility with java 17 > --- > > Key: SLING-12022 > URL: https://issues.apache.org/jira/browse/SLING-12022 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 4.0.0 > > > Some of the tests are failing when building with java 17. Seems to need a > bump of some dependencies to later versions and possibly other refactoring. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12081) Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12081. --- > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json > -- > > Key: SLING-12081 > URL: https://issues.apache.org/jira/browse/SLING-12081 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 4.0.0 > > > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json > Also, the bundle version will need to be bumped to 4.x since several public > APIs have changes for this -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12105) Bump dependencies to the earliest versions without known vulnerabilities
[ https://issues.apache.org/jira/browse/SLING-12105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12105. --- > Bump dependencies to the earliest versions without known vulnerabilities > > > Key: SLING-12105 > URL: https://issues.apache.org/jira/browse/SLING-12105 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 4.0.0 > > > Mostly to keep tooling from flagging these as "vulnerabilities from > dependencies" > # bump org.apache.sling.api to 2.25.4 > # bump org.apache.sling.jcr.base to 3.1.12 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12106) Bump dependencies to the earliest versions without known vulnerabilities
[ https://issues.apache.org/jira/browse/SLING-12106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12106. --- > Bump dependencies to the earliest versions without known vulnerabilities > > > Key: SLING-12106 > URL: https://issues.apache.org/jira/browse/SLING-12106 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Mostly to keep tooling from flagging these as "vulnerabilities from > dependencies" > # bump org.apache.sling.servlets.post to 2.3.22 > # bump org.apache.sling.jcr.base to 3.1.12 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12083) Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12083. --- > Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json > --- > > Key: SLING-12083 > URL: https://issues.apache.org/jira/browse/SLING-12083 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json > The impact to this one appears to be limited to just the test code -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12007) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12007. --- > Update to Sling Bundle Parent 52 > > > Key: SLING-12007 > URL: https://issues.apache.org/jira/browse/SLING-12007 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Update to Sling Bundle Parent 52 > Also replace the usages of dependencies that are not in the banned set. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12023) Fix test compatibility with java 17
[ https://issues.apache.org/jira/browse/SLING-12023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12023. --- > Fix test compatibility with java 17 > --- > > Key: SLING-12023 > URL: https://issues.apache.org/jira/browse/SLING-12023 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Some of the tests are failing when building with java 17. Seems to need a > bump of some dependencies to later versions and possibly other refactoring. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12112) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12112. - Resolution: Fixed Fixed at: [{{a95c935}}|https://github.com/apache/sling-org-apache-sling-starter-content/commit/a95c935cce81e30a62f308c705fe43803fa7f6f5] > Update to Sling Bundle Parent 52 > > > Key: SLING-12112 > URL: https://issues.apache.org/jira/browse/SLING-12112 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Starter Content 1.0.14 > > > Update to Sling Bundle Parent 52 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12082) Migrate org.apache.sling.starter.content to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12082. - Resolution: Fixed Merged PR at: [{{a95c935}}|https://github.com/apache/sling-org-apache-sling-starter-content/commit/a95c935cce81e30a62f308c705fe43803fa7f6f5] > Migrate org.apache.sling.starter.content to jakarta.json > > > Key: SLING-12082 > URL: https://issues.apache.org/jira/browse/SLING-12082 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: Starter Content 1.0.14 > > > After SLING-12081, then related changes are required to > org.apache.sling.starter.content to compensate. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (SLING-11184) Dynamically calculate the javadoc version to link to
[ https://issues.apache.org/jira/browse/SLING-11184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-11184: Fix Version/s: Starter Content 1.0.16 (was: Starter Content 1.0.14) > Dynamically calculate the javadoc version to link to > > > Key: SLING-11184 > URL: https://issues.apache.org/jira/browse/SLING-11184 > Project: Sling > Issue Type: New Feature > Components: Starter >Reporter: Robert Munteanu >Priority: Major > Fix For: Starter Content 1.0.16 > > > The Starter Content link to the latest released JavaDoc present on the Sling > Site. This means that for each starter release we need to update the link and > release the module. Instead, we should dynamically obtain it from the running > Starter and use it in the links. > The release version should be inferred from the pom.xml version of the > Starter module and later exposed as a configuration or something else easily > consumable from the home.html.esp script. > There should be a small amount of logic so that we display the latest > released version, even if the starter version is a SNAPSHOT one. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (SLING-10606) Default login page should not reference content from the starter.content module
[ https://issues.apache.org/jira/browse/SLING-10606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-10606: Fix Version/s: Starter Content 1.0.16 (was: Starter Content 1.0.14) > Default login page should not reference content from the starter.content > module > --- > > Key: SLING-10606 > URL: https://issues.apache.org/jira/browse/SLING-10606 > Project: Sling > Issue Type: Improvement > Components: Authentication, Starter >Reporter: Robert Munteanu >Priority: Major > Fix For: Form Based Authentication 1.0.26, Starter Content 1.0.16 > > Attachments: login-form-without-starter-content.png, > resources-not-found-without-starter-content.png > > > The default login form references images and styles from the starter.content. > We should avoid that, since the default login form can be deployed in other > scenarios as well. Instead, we should: > - provide a standalone login page for the o.a.s.auth.form bundle > - move the current login form to o.a.s.starter.content bundle > The intent is to have a good-looking form for the starter content but also > one that does not look broken for auth.form. > We should also add an HTML comment to the default login form pointing to > customisation possibilites. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12112) Update to Sling Bundle Parent 52
Eric Norman created SLING-12112: --- Summary: Update to Sling Bundle Parent 52 Key: SLING-12112 URL: https://issues.apache.org/jira/browse/SLING-12112 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: Starter Content 1.0.14 Update to Sling Bundle Parent 52 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12105) Bump dependencies to the earliest versions without known vulnerabilities
[ https://issues.apache.org/jira/browse/SLING-12105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12105. - Resolution: Fixed Merged PR at: [{{0d35fa4}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager/commit/0d35fa49b16934e7bad8736d7d49daa4e8493cfd] > Bump dependencies to the earliest versions without known vulnerabilities > > > Key: SLING-12105 > URL: https://issues.apache.org/jira/browse/SLING-12105 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 4.0.0 > > > Mostly to keep tooling from flagging these as "vulnerabilities from > dependencies" > # bump org.apache.sling.api to 2.25.4 > # bump org.apache.sling.jcr.base to 3.1.12 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12106) Bump dependencies to the earliest versions without known vulnerabilities
[ https://issues.apache.org/jira/browse/SLING-12106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12106. - Resolution: Fixed Merged PR at: [{{060ca25}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/060ca25a63db06d649a66b502b13afeab5ad7638] > Bump dependencies to the earliest versions without known vulnerabilities > > > Key: SLING-12106 > URL: https://issues.apache.org/jira/browse/SLING-12106 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Mostly to keep tooling from flagging these as "vulnerabilities from > dependencies" > # bump org.apache.sling.servlets.post to 2.3.22 > # bump org.apache.sling.jcr.base to 3.1.12 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12106) Bump dependencies to the earliest versions without known vulnerabilities
Eric Norman created SLING-12106: --- Summary: Bump dependencies to the earliest versions without known vulnerabilities Key: SLING-12106 URL: https://issues.apache.org/jira/browse/SLING-12106 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.28 Mostly to keep tooling from flagging these as "vulnerabilities from dependencies" # bump org.apache.sling.servlets.post to 2.3.22 # bump org.apache.sling.jcr.base to 3.1.12 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12105) Bump dependencies to the earliest versions without known vulnerabilities
Eric Norman created SLING-12105: --- Summary: Bump dependencies to the earliest versions without known vulnerabilities Key: SLING-12105 URL: https://issues.apache.org/jira/browse/SLING-12105 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit Access Manager 4.0.0 Mostly to keep tooling from flagging these as "vulnerabilities from dependencies" # bump org.apache.sling.api to 2.25.4 # bump org.apache.sling.jcr.base to 3.1.12 -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12044) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12044. --- > Update to Sling Bundle Parent 52 > > > Key: SLING-12044 > URL: https://issues.apache.org/jira/browse/SLING-12044 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Maintenance 1.1.0 > > > Update to the latest bundle parent -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12034) bump oak dependency for compatibility with oak version 1.56.0
[ https://issues.apache.org/jira/browse/SLING-12034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12034. --- > bump oak dependency for compatibility with oak version 1.56.0 > -- > > Key: SLING-12034 > URL: https://issues.apache.org/jira/browse/SLING-12034 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Maintenance 1.1.0 > > > In order for sling to work with the latest release of oak, the oak > dependencies must be bumped to 1.56.0 or later. > The oak 1.56.0 release completed the removal of the dependency on the old > guava library which required a bump of the major version of some exported > packages whose public api has changed. The imports of those changed packages > must be bumped to the new major version number in order for the bundles to > resolve properly in the runtime. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12035) bump oak dependency for compatibility with oak version 1.56.0
[ https://issues.apache.org/jira/browse/SLING-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12035. --- > bump oak dependency for compatibility with oak version 1.56.0 > - > > Key: SLING-12035 > URL: https://issues.apache.org/jira/browse/SLING-12035 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Oak Server 1.4.0 > > > In order for sling to work with the latest release of oak, the oak > dependencies must be bumped to 1.56.0 or later. > The oak 1.56.0 release completed the removal of the dependency on the old > guava library which required a bump of the major version of some exported > packages whose public api has changed. The imports of those changed packages > must be bumped to the new major version number in order for the bundles to > resolve properly in the runtime. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-11322) Reenable javadoc generation for internal packages
[ https://issues.apache.org/jira/browse/SLING-11322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-11322. --- > Reenable javadoc generation for internal packages > - > > Key: SLING-11322 > URL: https://issues.apache.org/jira/browse/SLING-11322 > Project: Sling > Issue Type: Task > Components: JCR, Oak >Affects Versions: JCR Oak Server 1.2.10 >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Minor > Fix For: JCR Oak Server 1.4.0 > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-11474) Update Testing PaxExam to 4.0.0
[ https://issues.apache.org/jira/browse/SLING-11474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-11474. --- > Update Testing PaxExam to 4.0.0 > --- > > Key: SLING-11474 > URL: https://issues.apache.org/jira/browse/SLING-11474 > Project: Sling > Issue Type: Sub-task > Components: JCR, Oak >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: JCR Oak Server 1.4.0 > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-12045) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-12045. --- > Update to Sling Bundle Parent 52 > > > Key: SLING-12045 > URL: https://issues.apache.org/jira/browse/SLING-12045 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Oak Server 1.4.0 > > > Update to latest bundle parent version -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Closed] (SLING-11956) Update to Sling Bundle Parent 51
[ https://issues.apache.org/jira/browse/SLING-11956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman closed SLING-11956. --- > Update to Sling Bundle Parent 51 > > > Key: SLING-11956 > URL: https://issues.apache.org/jira/browse/SLING-11956 > Project: Sling > Issue Type: Task > Components: JCR, Oak >Reporter: Oliver Lietz >Assignee: Oliver Lietz >Priority: Major > Fix For: JCR Oak Server 1.4.0 > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12083) Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12083. - Resolution: Fixed Merged PR at: [{{931c59c}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/931c59c58b5279e92b5803d067ff444066847ae4] > Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json > --- > > Key: SLING-12083 > URL: https://issues.apache.org/jira/browse/SLING-12083 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json > The impact to this one appears to be limited to just the test code -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12081) Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12081. - Resolution: Fixed Merged PR at: [{{fa105ed}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager/commit/fa105ed11388e7efbdcd7f69a868ba53f0a62dbd] > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json > -- > > Key: SLING-12081 > URL: https://issues.apache.org/jira/browse/SLING-12081 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 3.1.2 > > > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json > Also, the bundle version will need to be bumped to 4.x since several public > APIs have changes for this -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12023) Fix test compatibility with java 17
[ https://issues.apache.org/jira/browse/SLING-12023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12023. - Resolution: Fixed Merged PR at: [{{bfeab09}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/bfeab09cf6496ef64e78208eae3180f8981f7510] > Fix test compatibility with java 17 > --- > > Key: SLING-12023 > URL: https://issues.apache.org/jira/browse/SLING-12023 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Some of the tests are failing when building with java 17. Seems to need a > bump of some dependencies to later versions and possibly other refactoring. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12083) Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json
Eric Norman created SLING-12083: --- Summary: Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json Key: SLING-12083 URL: https://issues.apache.org/jira/browse/SLING-12083 Project: Sling Issue Type: Sub-task Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.28 Migrate org.apache.sling.jcr.jackrabbit.usermanager to jakarta.json The impact to this one appears to be limited to just the test code -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12082) Migrate org.apache.sling.starter.content to jakarta.json
Eric Norman created SLING-12082: --- Summary: Migrate org.apache.sling.starter.content to jakarta.json Key: SLING-12082 URL: https://issues.apache.org/jira/browse/SLING-12082 Project: Sling Issue Type: Sub-task Reporter: Eric Norman Assignee: Eric Norman Fix For: Starter Content 1.0.14 After SLING-12081, then related changes are required to org.apache.sling.starter.content to compensate. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (SLING-12081) Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-12081: Description: Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json Also, the bundle version will need to be bumped to 4.x since several public APIs have changes for this was:Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json > -- > > Key: SLING-12081 > URL: https://issues.apache.org/jira/browse/SLING-12081 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 3.1.2 > > > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json > Also, the bundle version will need to be bumped to 4.x since several public > APIs have changes for this -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12022) Fix test compatibility with java 17
[ https://issues.apache.org/jira/browse/SLING-12022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12022. - Resolution: Fixed Merged PR at: [{{bddb622}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager/commit/bddb6228a897aaf8d589b96ab34d91d8d30171db] > Fix test compatibility with java 17 > --- > > Key: SLING-12022 > URL: https://issues.apache.org/jira/browse/SLING-12022 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 3.1.2 > > > Some of the tests are failing when building with java 17. Seems to need a > bump of some dependencies to later versions and possibly other refactoring. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (SLING-12081) Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json
[ https://issues.apache.org/jira/browse/SLING-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17772722#comment-17772722 ] Eric Norman commented on SLING-12081: - A few months ago, I was experimenting with migration to the jakarta apis for this module. I'll try to dig up where I had stashed the changes and prepare a PR for consideration. > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json > -- > > Key: SLING-12081 > URL: https://issues.apache.org/jira/browse/SLING-12081 > Project: Sling > Issue Type: Sub-task >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 3.1.2 > > > Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to > jakarta.json -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12081) Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json
Eric Norman created SLING-12081: --- Summary: Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json Key: SLING-12081 URL: https://issues.apache.org/jira/browse/SLING-12081 Project: Sling Issue Type: Sub-task Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit Access Manager 3.1.2 Migrate org.apache.sling:org.apache.sling.jcr.jackrabbit.accessmanager to jakarta.json -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (SLING-11906) Migrate to slf4j 2.x
[ https://issues.apache.org/jira/browse/SLING-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman updated SLING-11906: Description: Increasingly more libraries have been migrating to slf4j 2.x (for example logback 1.3+, tika 2.5+ and jetty 10+) To be compatible with those, the sling commons log bundle should migrate to slf4j v2.x (and logback v1.4.x or v1.3.x?) It looks like slf4j 2.x exports both 2.x and 1.7.36 versions of the exported packages, so it should hopefully be compatible with existing bundles that are importing the 1.x version of the slf4j packages. was: Increasingly more libraries have been migrating to slf4j 2.x (for example logback 1.3+, tika 2.5+ and jetty 10+) To be compatible with those, the sling commons log bundle should migrate to slf4j v2.0.7 (and logback v1.4.7) It looks like slf4j 2.x exports both 2.x and 1.7.36 versions of the exported packages, so it should hopefully be compatible with existing bundles that are importing the 1.x version of the slf4j packages. > Migrate to slf4j 2.x > > > Key: SLING-11906 > URL: https://issues.apache.org/jira/browse/SLING-11906 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Priority: Major > Fix For: Commons Log 6.0.0 > > > Increasingly more libraries have been migrating to slf4j 2.x (for example > logback 1.3+, tika 2.5+ and jetty 10+) > To be compatible with those, the sling commons log bundle should migrate to > slf4j v2.x (and logback v1.4.x or v1.3.x?) > It looks like slf4j 2.x exports both 2.x and 1.7.36 versions of the exported > packages, so it should hopefully be compatible with existing bundles that are > importing the 1.x version of the slf4j packages. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (SLING-12053) Upgrade Sling GraphQL Core to Graphql-Java 21.x
[ https://issues.apache.org/jira/browse/SLING-12053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17770594#comment-17770594 ] Eric Norman commented on SLING-12053: - Linked the related open issue regarding the migration of sling to slf4j 2.x > Upgrade Sling GraphQL Core to Graphql-Java 21.x > --- > > Key: SLING-12053 > URL: https://issues.apache.org/jira/browse/SLING-12053 > Project: Sling > Issue Type: Improvement >Reporter: Andreas Schaefer >Assignee: Andreas Schaefer >Priority: Major > > There is an upgrade from graphql-java of 21.x and that has (according to > them) breaking changes. As upgrading takes time I wanted to start the process > early with this ticket. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12045) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12045. - Resolution: Fixed Merged PR at: [{{e772707}}|https://github.com/apache/sling-org-apache-sling-jcr-oak-server/commit/e772707110cb000eb06aae7a9ebcfadd0785761f] > Update to Sling Bundle Parent 52 > > > Key: SLING-12045 > URL: https://issues.apache.org/jira/browse/SLING-12045 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Oak Server 1.4.0 > > > Update to latest bundle parent version -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12044) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12044. - Resolution: Fixed Merged PR at: [{{ebc5010}}|https://github.com/apache/sling-org-apache-sling-jcr-maintenance/commit/ebc501006a1748ab7d0359422504673261916bdd] > Update to Sling Bundle Parent 52 > > > Key: SLING-12044 > URL: https://issues.apache.org/jira/browse/SLING-12044 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Maintenance 1.1.0 > > > Update to the latest bundle parent -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12045) Update to Sling Bundle Parent 52
Eric Norman created SLING-12045: --- Summary: Update to Sling Bundle Parent 52 Key: SLING-12045 URL: https://issues.apache.org/jira/browse/SLING-12045 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Oak Server 1.4.0 Update to latest bundle parent version -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12035) bump oak dependency for compatibility with oak version 1.56.0
[ https://issues.apache.org/jira/browse/SLING-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12035. - Resolution: Fixed Merged PR at: [{{762cdab}}|https://github.com/apache/sling-org-apache-sling-jcr-oak-server/commit/762cdabd6843a41a1dce12bd769f37dcd4778d45] > bump oak dependency for compatibility with oak version 1.56.0 > - > > Key: SLING-12035 > URL: https://issues.apache.org/jira/browse/SLING-12035 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Oak Server 1.3.2 > > > In order for sling to work with the latest release of oak, the oak > dependencies must be bumped to 1.56.0 or later. > The oak 1.56.0 release completed the removal of the dependency on the old > guava library which required a bump of the major version of some exported > packages whose public api has changed. The imports of those changed packages > must be bumped to the new major version number in order for the bundles to > resolve properly in the runtime. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12044) Update to Sling Bundle Parent 52
Eric Norman created SLING-12044: --- Summary: Update to Sling Bundle Parent 52 Key: SLING-12044 URL: https://issues.apache.org/jira/browse/SLING-12044 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Maintenance 1.1.0 Update to the latest bundle parent -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12034) bump oak dependency for compatibility with oak version 1.56.0
[ https://issues.apache.org/jira/browse/SLING-12034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12034. - Resolution: Fixed Merged PR at: [{{3914256}}|https://github.com/apache/sling-org-apache-sling-jcr-maintenance/commit/39142565d89fce7f986fc5a7d26e318c5ba2ff9c] > bump oak dependency for compatibility with oak version 1.56.0 > -- > > Key: SLING-12034 > URL: https://issues.apache.org/jira/browse/SLING-12034 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Maintenance 1.0.4 > > > In order for sling to work with the latest release of oak, the oak > dependencies must be bumped to 1.56.0 or later. > The oak 1.56.0 release completed the removal of the dependency on the old > guava library which required a bump of the major version of some exported > packages whose public api has changed. The imports of those changed packages > must be bumped to the new major version number in order for the bundles to > resolve properly in the runtime. > > -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (SLING-12035) bump oak dependency for compatibility with oak version 1.56.0
[ https://issues.apache.org/jira/browse/SLING-12035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767739#comment-17767739 ] Eric Norman commented on SLING-12035: - [~rombert] It doesn't seem that this scenario fits exactly into any of the examples from the version policy docs since only the version ranges of the "Import-Package" clause is really different. However, I think that would make sense to bump the minor version number to indicate that the change is more than a simple bug fix. # [https://sling.apache.org/documentation/development/version-policy.html] I will change the version number in the PR and add a section to the README about the compatibility of the various versions. > bump oak dependency for compatibility with oak version 1.56.0 > - > > Key: SLING-12035 > URL: https://issues.apache.org/jira/browse/SLING-12035 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Oak Server 1.3.2 > > > In order for sling to work with the latest release of oak, the oak > dependencies must be bumped to 1.56.0 or later. > The oak 1.56.0 release completed the removal of the dependency on the old > guava library which required a bump of the major version of some exported > packages whose public api has changed. The imports of those changed packages > must be bumped to the new major version number in order for the bundles to > resolve properly in the runtime. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12035) bump oak dependency for compatibility with oak version 1.56.0
Eric Norman created SLING-12035: --- Summary: bump oak dependency for compatibility with oak version 1.56.0 Key: SLING-12035 URL: https://issues.apache.org/jira/browse/SLING-12035 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Oak Server 1.3.2 In order for sling to work with the latest release of oak, the oak dependencies must be bumped to 1.56.0 or later. The oak 1.56.0 release completed the removal of the dependency on the old guava library which required a bump of the major version of some exported packages whose public api has changed. The imports of those changed packages must be bumped to the new major version number in order for the bundles to resolve properly in the runtime. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12034) bump oak dependency for compatibility with oak version 1.56.0
Eric Norman created SLING-12034: --- Summary: bump oak dependency for compatibility with oak version 1.56.0 Key: SLING-12034 URL: https://issues.apache.org/jira/browse/SLING-12034 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Maintenance 1.0.4 In order for sling to work with the latest release of oak, the oak dependencies must be bumped to 1.56.0 or later. The oak 1.56.0 release completed the removal of the dependency on the old guava library which required a bump of the major version of some exported packages whose public api has changed. The imports of those changed packages must be bumped to the new major version number in order for the bundles to resolve properly in the runtime. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12023) Fix test compatibility with java 17
Eric Norman created SLING-12023: --- Summary: Fix test compatibility with java 17 Key: SLING-12023 URL: https://issues.apache.org/jira/browse/SLING-12023 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.28 Some of the tests are failing when building with java 17. Seems to need a bump of some dependencies to later versions and possibly other refactoring. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Assigned] (SLING-12022) Fix test compatibility with java 17
[ https://issues.apache.org/jira/browse/SLING-12022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman reassigned SLING-12022: --- Assignee: Eric Norman > Fix test compatibility with java 17 > --- > > Key: SLING-12022 > URL: https://issues.apache.org/jira/browse/SLING-12022 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 3.1.2 > > > Some of the tests are failing when building with java 17. Seems to need a > bump of some dependencies to later versions and possibly other refactoring. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12022) Fix test compatibility with java 17
Eric Norman created SLING-12022: --- Summary: Fix test compatibility with java 17 Key: SLING-12022 URL: https://issues.apache.org/jira/browse/SLING-12022 Project: Sling Issue Type: Improvement Reporter: Eric Norman Fix For: JCR Jackrabbit Access Manager 3.1.2 Some of the tests are failing when building with java 17. Seems to need a bump of some dependencies to later versions and possibly other refactoring. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12008) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12008. - Resolution: Fixed Fixed at: [{{9217c7e}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager/commit/9217c7e06a2fc90536cfaee247f47b5d2cd770ca] > Update to Sling Bundle Parent 52 > > > Key: SLING-12008 > URL: https://issues.apache.org/jira/browse/SLING-12008 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit Access Manager 3.1.2 > > > Update to Sling Bundle Parent 52 > Also replace the usages of dependencies that are not in the banned set. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (SLING-12007) Update to Sling Bundle Parent 52
[ https://issues.apache.org/jira/browse/SLING-12007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eric Norman resolved SLING-12007. - Resolution: Fixed Fixed at: [{{2fd1174}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/2fd1174f9decfcdebd35c48a949af1d55afb2c2b] > Update to Sling Bundle Parent 52 > > > Key: SLING-12007 > URL: https://issues.apache.org/jira/browse/SLING-12007 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Assignee: Eric Norman >Priority: Major > Fix For: JCR Jackrabbit User Manager 2.2.28 > > > Update to Sling Bundle Parent 52 > Also replace the usages of dependencies that are not in the banned set. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12008) Update to Sling Bundle Parent 52
Eric Norman created SLING-12008: --- Summary: Update to Sling Bundle Parent 52 Key: SLING-12008 URL: https://issues.apache.org/jira/browse/SLING-12008 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit Access Manager 3.1.2 Update to Sling Bundle Parent 52 Also replace the usages of dependencies that are not in the banned set. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (SLING-12007) Update to Sling Bundle Parent 52
Eric Norman created SLING-12007: --- Summary: Update to Sling Bundle Parent 52 Key: SLING-12007 URL: https://issues.apache.org/jira/browse/SLING-12007 Project: Sling Issue Type: Improvement Reporter: Eric Norman Assignee: Eric Norman Fix For: JCR Jackrabbit User Manager 2.2.28 Update to Sling Bundle Parent 52 Also replace the usages of dependencies that are not in the banned set. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Comment Edited] (SLING-11906) Migrate to slf4j 2.x
[ https://issues.apache.org/jira/browse/SLING-11906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17732661#comment-17732661 ] Eric Norman edited comment on SLING-11906 at 6/14/23 5:36 PM: -- [~rombert] Thanks for those additional data points. I guess we will need some additional experimentation to see if it would be safe for the slf4j-api 2.0.x bundle to export those additional org.slf4j.helpers and org.slf4j.event packages as 1.x versions as well. The required serviceloader capabilities would be provided by the new 1.3+ logback library so I was already aware of that one. SLF4j-api 2.x now uses the ServiceLoader mechanism to find the logging implementation instead of their old 1.x style "static binding" technique. So this also means a serviceloader mediator must exist in the OSGi runtime for it to work. was (Author: enorman): [~rombert] Thanks for those additional data points. I guess we will need some additional experimentation to see if it would be safe for the slf4j-api 2.0.x bundle to export those additional org.slf4j.helpers and org.slf4j.event packages as well. The required serviceloader capabilities would be provided by the new 1.3+ logback library so I was already aware of that one. SLF4j-api 2.x now uses the ServiceLoader mechanism to find the logging implementation instead of their old 1.x style "static binding" technique. So this also means a serviceloader mediator must exist in the OSGi runtime for it to work. > Migrate to slf4j 2.x > > > Key: SLING-11906 > URL: https://issues.apache.org/jira/browse/SLING-11906 > Project: Sling > Issue Type: Improvement >Reporter: Eric Norman >Priority: Major > Fix For: Commons Log 6.0.0 > > > Increasingly more libraries have been migrating to slf4j 2.x (for example > logback 1.3+, tika 2.5+ and jetty 10+) > To be compatible with those, the sling commons log bundle should migrate to > slf4j v2.0.7 (and logback v1.4.7) > It looks like slf4j 2.x exports both 2.x and 1.7.36 versions of the exported > packages, so it should hopefully be compatible with existing bundles that are > importing the 1.x version of the slf4j packages. -- This message was sent by Atlassian Jira (v8.20.10#820010)