Cezary Witkowski 1592f7fa1d [MNT-24807] repo event2 is exposing user password hash and salt (#3147)
* [MNT-24807] Implemented PropertyReplacer that replaces values of sensitive properties (e.g. passwords) during creation of NodeResource for event2

* [MNT-24807] Fix failing tests

* Revert "[MNT-24807] Fix failing tests"

This reverts commit c118f713f2.

* [MNT-24807] Fix failing tests without reformat

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

* [MNT-24807] Introduced interface to keep convention

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

* [MNT-24807] Added ability to configure property filter and mapper for user

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

* [MNT-24807] Fixed npe and pmd issues

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

* [MNT-24807] Fixed more pmd comments, applied pre-commit formatting

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

* [MNT-24807] Renamed user configured properties to indicate what they do, added failsafe when userConfiguredReplacementText is not configured at all

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

* [MNT-24807] Added unit tests

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

* [MNT-24807] Additional config to disable property mapper entirely

* [MNT-24807] PMD again

* [MNT-24807] Updated year in licence for some files I missed

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>

---------

Signed-off-by: cezary-witkowski <cezary.witkowski@hyland.com>
2025-01-17 11:16:31 +01:00
2020-07-21 18:05:13 +01:00
2024-08-05 15:41:41 +02:00

alfresco-community-repo

Build Status

Table of Contents

  1. Content
  2. Artifacts
  3. Setup
  4. Branches
  5. Contributing
  6. Helpful links

Content

Alfresco Community Repository contains following libraries:

Alfresco Core

Core is a library packaged as a jar file which contains the following:

  • Various helpers and utils
  • Canned queries interface and supporting classes
  • Generic encryption supporting classes

Alfresco Data Model

Data Model is a library packaged as a jar file which contains the following:

  • Dictionary, Repository and Search Services interfaces
  • Models for data types and Dictionary implementation
  • Parsers

Alfresco Repository

Repository is a library packaged as a jar file which contains the following:

  • DAOs and SQL scripts
  • Various Service implementations
  • Utility classes

Alfresco Remote API

Remote API is a library packaged as a jar file which contains the following:

Artifacts

The artifacts can be obtained by:


<dependency>
  <groupId>org.alfresco</groupId>
  <artifactId>alfresco-core</artifactId>
  <version>version</version>
</dependency>

<dependency>
  <groupId>org.alfresco</groupId>
  <artifactId>alfresco-data-model</artifactId>
  <version>version</version>
</dependency>

<dependency>
  <groupId>org.alfresco</groupId>
  <artifactId>alfresco-repository</artifactId>
  <version>version</version>
</dependency>

<dependency>
  <groupId>org.alfresco</groupId>
  <artifactId>alfresco-remote-api</artifactId>
  <version>version</version>
</dependency>

<dependency>
    <groupId>org.alfresco</groupId>
    <artifactId>content-services-community</artifactId>
    <version>version</version>
    <type>war</type>
</dependency>

and Alfresco maven repository:


<repository>
  <id>alfresco-maven-repo</id>
  <url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</repository>

The SNAPSHOT versions of the artifact are not published.

Setting up and building your development environment

See the Development Tomcat Environment page which will show you how to try out your repository changes in a local Tomcat instance or using Docker containers.

Branches

This project has a branch for each ACS release. For example the code in ACS 6.2.2 is a branch called release/6.2.2. In addition to the original 6.2.2 release it will also contain Hot Fixes added later. The latest unreleased code is on the master branch. There are also .N branches, such as release/7.1.N on which we gather unreleased fixes for future service pack releases. They do not indicate that one is planned.

For historic reasons the version of artifacts created on each branch do not match the ACS version. For example artifact in ACS 7.2.0 will be 14.<something>.

The enterprise projects which extend the alfresco-community-repo use the same branch names and leading artifact version number.

Contributing guide

Please use this guide to make a contribution to the project.

Description
Community Content Service Repository
Readme 435 MiB
Languages
Java 96.5%
Fluent 1.1%
JavaScript 1%
HTML 0.5%
FreeMarker 0.4%
Other 0.3%