Table of Contents Introduction Prerequisites Project Setup Install okta-auth-js Service Auth Service Token Service Auth Guard Components Implementing Okta Auth Role Based Access Environment Variables App Modules Routing Module Token Service Auth Service Auth Guard Expired Component Unauthorized Component Login Component App Component Dashboard Component Protected Component Update Page Testing Okta SSO Role Based Access…
Table of Contents Introduction Prerequisites Project Setup Application Properties Producer Consumer Configuration Spring Boot RabbitMQ Main Class Testing Producer Consumer Application Source Code Introduction In this tutorial I will show you how to build producer consumer example using Spring Boot and RabbitMQ. This is also called point-to-point messaging model as there are only one producer…
Introduction Here I am going to tell you how to setup multiple environments for Angular applications. Multiple environments are required for your Angular application when you want to ensure the stability and integrity of the application when it goes live on the production environment where your application’s end users access it. Your application’s development workspace…
Problem Let’s say you are starting your Spring Boot application and your (Spring Boot) application is trying to connect to vhost (virtual host) ‘xyz’ that does not exist in RabbitMQ server. So, you are getting error – access to vhost ‘xyz’ refused for use ‘guest’. By default, the user which is used to connect to RabbitMQ is ‘guest’….
Table of Contents Introduction Prerequisites Exclude Dependencies/Libraries Exclude Per Configuration Exclude Per Dependency Introduction I am going to show you how to exclude dependency from build.gradle script in gradle based Java project. Specially when you use several starter dependencies in your Spring Boot project, then many children dependencies are found and hence many libraries are downloaded in the project’s classpath. These many libraries may…
Introduction In this example, I am going to show you how to find dependency hierarchy using gradle build tool in your Java based projects. Your Spring Boot projects might be using gradle build tool and you want to check what dependencies are used in your project. You can easily find what libraries are used in your project by looking…