Skip to content
Snippets Groups Projects

Various tweaks to the common library

1 unresolved thread

Contains following upgrades

  • Centralized encryption util methods
  • Addition of BC security augmentation to core
  • Deprecation of unused auth role augmentor
  • Extraction of providers to separate package to help clarify packages
  • Deprecation of LoggingHelper to move method to more generic TransformationHelper (name pending)

Merge request reports

Approval is optional

Merged by Martin LoweMartin Lowe 1 year ago (Jan 2, 2024 3:43pm UTC)

Merge details

  • Changes merged into main with c61e2cf9.
  • Deleted the source branch.

Pipeline #36423 passed

Pipeline passed for c61e2cf9 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
37 /**
38 * Helper class used to perform string transformation operations, such as sanitation and encryption.
39 */
40 @ApplicationScoped
41 public class TransformationHelper {
42 private static final Logger LOGGER = LoggerFactory.getLogger(TransformationHelper.class);
43
44 @Inject
45 EncryptionSecurityConfig encryptionConfig;
46
47 @Inject
48 CachingService cache;
49
50 /**
51 * Encrypts an string using the public key in the application configs and returns the result in a Base64 encoded string.
52 * Returns the original string if there was an error.
  • Zachary Sabourin approved this merge request

    approved this merge request

  • Martin Lowe added 6 commits

    added 6 commits

    • 650badce - Move existing providers to new package to cleanup config package
    • c975562c - Add bouncycastle to base implementation, consolidate formatting helpers
    • 9a34a2b6 - Deprecate unused authentication role augmentation class
    • be3d062d - Add additional config for encryption values in encryption utils
    • 7a7de43f - Iss #93 (closed) - Add default max cache size to restrict impact on host
    • 2ddc1078 - Fix bad documentation for TransformationHelper

    Compare with previous version

  • Martin Lowe added 7 commits

    added 7 commits

    • c9b86c4f - 1 commit from branch eclipsefdn/it/api:main
    • d2fc53e1 - Move existing providers to new package to cleanup config package
    • 4f6e301a - Add bouncycastle to base implementation, consolidate formatting helpers
    • 5e926666 - Deprecate unused authentication role augmentation class
    • d23c4945 - Add additional config for encryption values in encryption utils
    • c35284fd - Iss #93 (closed) - Add default max cache size to restrict impact on host
    • c61e2cf9 - Fix bad documentation for TransformationHelper

    Compare with previous version

  • merged

  • Please register or sign in to reply
    Loading