How to add Custom Claims from User Attributes in Keycloak
In this post, I’m going to show you how you can add custom claims from user attributes in Keycloak.
In this post, I’m going to show you how you can add custom claims from user attributes in Keycloak.
Overview This post provides you code snippets so you can start working with AWS S3/Digital Ocean Spaces via java SDK quickly. You can use AWS S3 SDK to access DigitalOcean Spaces. Create key pair to feed to the client Before working on the code, you need to create a key pair so you can access … Read more
With Spring AOP, you can simply use the @Transactional annotation to handle transactions in your app.
In this post, I’m going to quickly show you how to configure data sources in Spring applications.
Overview In the first post of this series, I briefly discussed the problem with multiple database operations and the need for using transaction management. In the last post, I also showed you how to set up PostgreSQL database using docker-compose. In this post, I’m going to show you the problems and solutions with code. The … Read more
What is a transaction? In short, a transaction is a group of database tasks that are treated as a single unit of work. Either you have the transaction or no transaction. Remember the song: “all or nothing” by O-town? That’s the spirit! What is ACID? You often hear this database is ACID-compliant, but that database … Read more