This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: FleSkdmk5vseIPicIJSEAaWx0pHsMiUVJiKKvafHvPg
Cover

Secret Tecniques To Improve Dependency Resolution On App Class Loader

Written by @camposer | Published on 2020/11/20

TL;DR
Rodolfo Campos has developed a way to tweak the Java Class Loading System. The App Class Loader would pick any class available in your classpath before going to check your dependencies. For that reason, if you add a class with the same qualified name -that respects the original contract- you could “hack” the dependency behaviour. The original BasicTextEncryptor used a PBEWithMD5AndDES algorithm and the ‘new’ implementation looks like this:.* Overrides the original implementation with a Caesar Cipher Algorithm.

[story continues]


Written by
@camposer
Family man and tech geek - passionate about Software & Data Engineering, and Entrepreneurship

Topics and
tags
spring-boot|java|java-classloaders|hacks|spring|backend|software-development|programming|web-monetization
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: FleSkdmk5vseIPicIJSEAaWx0pHsMiUVJiKKvafHvPg