Firebase and Spring Boot Based Role Management and Authorization

In the previous post we configured spring boot security with firebase to seamlessly authenticate rest api ( https://thepro.io/post/firebase-authentication-for-spring-boot-rest-api-5V ) . In this post, we will restrict access to resources based on firebase roles. We are going to utilise firebase’s claims object inside UserRecord class to store roles, which is its actual purpose as per firebase documentation. To … Read more

Setting up Raspberry Pi for Spring boot development

You may want a secondary development machine or you may only have a Raspberry pi for development, either way I want to say that it is very much possible to use Raspberry pi for java and spring boot development. This is a followup to my previous post https://thepro.io/post/minimal-setup-for-a-modest-daily-driver-raspberry-pi-based-development-pc–YO . Overclock These overclock settings are for raspberry pi … Read more

Managing complex application properties with Spring Boot

Spring boot supports dynamic configurations through application properties. A fluid and configurable application is easier to manage in production owing to changing needs, where otherwise a wait till another deployment can be avoided. let us explore some of the complex ways to pass and consume configuration properties through spring boot. @Value Annotation : To consume … Read more

Spring Boot and DigitalOcean Spaces for File Storage

Digital Ocean Spaces is an object storage solution and one of the cheapest out there right now. Integration for various languages is supported through API’s and AWS SDKs. In this post we will try integrating DigitalOcean Spaces with Spring Boot using AWS SDK with a practical demo UI built with Nextjs. I have come to … Read more