Publishing a Java Library to Maven Central

Created by M. Massenzio, 2021-12-26 Motivation Publishing one’s own source code under an Open Source license (Apache 2 being my favorite one) and making the code publicly available on GitHub is only half the story, these days, in ensuring that your open source project will reach a wide audience. A critical part is also packaging … More Publishing a Java Library to Maven Central

Integrating Open Policy Agent with Spring Security Reactive and JSON Web Tokens

We present a Java library that simplifies adopting the Open Policy Agent server to manage user authorization for a Spring Boot microservice, while also managing API Token (JWT) authentication. Motivation Spring Security assumes a fairly simplistic Role-Based access control (RBAC) where the service authenticates the user (via some credentials, typically username/password) and returns a UserDetails … More Integrating Open Policy Agent with Spring Security Reactive and JSON Web Tokens

Implement the Envelope Wrapper Pattern in C++ using Google Protocol Buffers

The Envelope Wrapper pattern This pattern, described in “Enterprise Integration Patterns” (Ch. 8, “The Envelope Wrapper”), is used typically in messaging systems, when a number of metadata fields (for routing, security, etc.) are kept in a header, while the data used by service endpoints is serialized in a payload. For the system to be generically … More Implement the Envelope Wrapper Pattern in C++ using Google Protocol Buffers