Spring Boot

Apache Camel logo
Article

Writing Your First Camel Spring Boot Project With the Rest DSL

Mary Cochran

Rest services are becoming more and more popular for communication between systems.  Now that Red Hat supports the use of Red Hat JBoss Fuse with Apache Camel Spring Boot, learn how you can get started with the Rest DSL and Spring Boot. 

Article Thumbnail
Article

Configuring Spring Boot on Kubernetes with Secrets

Kamesh Sampath

In the Part-I of the series, we saw how we used ConfigMaps in configuring spring boot application Kubernetes. ConfigMaps are OK when we use simple configuration data that do not contain sensitive information. When using sensitive data like API Keys, passwords etc. Secrets are the preferred and recommended way. In this second part of the series, we will explore configuring spring boot on kubernetes with Secrets. The sources for this blog post are available in my github repo. Setup You...

Article Thumbnail
Article

Configuring Spring Boot on Kubernetes with ConfigMap

Kamesh Sampath

ConfigMaps is the Kubernetes counterpart of the Spring Boot externalized configuration. ConfigMaps is a simple key/value store, which can store simple values to files. In this post "Configuring Spring Boot on Kubernetes with ConfigMap", we will see how to use ConfigMaps to externalize the application configuration. One of the ways configuring the spring boot application on kubernetes is to use ConfigMaps. ConfigMaps is a way to decouple the application specific artifacts from the container image, thereby enabling better portability and...

Article Thumbnail
Article

Configuring Spring Boot Application on Kubernetes

Kamesh Sampath

When the developers plan to deploy Spring Boot application on Kubernetes, the first question comes to a spring developer's mind is "Can I use Spring Config server?" Spring Config server is a de-facto way of doing centralized configuration of a distributed application. Yes, we can use Spring Config server, but let’s think of some constraints that Spring Config server can have in a typical Enterprise deployment: No access to the internet from production. This means I can’t use the default...

Video Thumbnail
Video

Easily secure your Spring Boot applications with Keycloak - Part 2

Red Hat Developer Program

Related Blog Post : https://developers.redhat.com/blog/2017/05/25/easily-secure-your-spring-boot-applications-with-keycloak/ Support Github repo : https://github.com/sebastienblanc/spring-boot-keycloak-tutoria Although security and identity management is a crucial aspect for any application, its implementation can be difficult. Worse, it is often neglected, poorly implemented and intrusive in the code. But lately, Identity Management servers has appeared which allow to outsource and delegate all authentication and authorization aspects. Of these servers, one of the most promising is Keycloak, open-source, flexible and agnostic of any technology, it is easily deployable / adaptable in its own infrastructure. In this session, I propose you to discover KeyCloak progressively and in an interactive way: 0 slide, 100% live coding."

Video Thumbnail
Video

Easily secure your Spring Boot applications with Keycloak - Part 1

Red Hat Developer Program

Related Blog Post : https://developers.redhat.com/blog/2017/05/25/easily-secure-your-spring-boot-applications-with-keycloak/ Support Github repo : https://github.com/sebastienblanc/spring-boot-keycloak-tutoria Although security and identity management is a crucial aspect for any application, its implementation can be difficult. Worse, it is often neglected, poorly implemented and intrusive in the code. But lately, Identity Management servers has appeared which allow to outsource and delegate all authentication and authorization aspects. Of these servers, one of the most promising is Keycloak, open-source, flexible and agnostic of any technology, it is easily deployable / adaptable in its own infrastructure. In this session, I propose you to discover KeyCloak progressively and in an interactive way: 0 slide, 100% live coding."

Video Thumbnail
Video

Bringing Red Hat benefits to Spring Boot and Spring Cloud

Red Hat Developer Program

Hear from Edson Yanaga, Director of Developer Experience at Red Hat in this breakout session at the Red Hat Summit 2017. If you’ve decided ride the wave of Spring Boot and Spring Cloud, you could gain further improvements using the Spring programming model with Red Hat technologies. In this session, view demos and code on how to take advantage of Spring Boot and Spring Cloud programming models. We'll show how to enhance Spring with Red Hat OpenShift, Infinispan, Apache ActiveMQ Artemis, and more. Learn how to use your new favorite framework with the platform tools that you trust. Learn more: https://www.redhat.com/en/summit/2017/agenda/sessions

Easily secure your Spring Boot applications with Keycloak
Article

Easily secure your Spring Boot applications with Keycloak

Sebastien Blanc

What is Keycloak? Although security is a crucial aspect of any application, its implementation can be difficult. Worse, it is often neglected, poorly implemented and intrusive in the code. But lately, security servers have appeared which allow for outsourcing and delegating all the authentication and authorization aspects. Of these servers, one of the most promising is Keycloak, open-source, flexible, and agnostic of any technology, it is easily deployable/adaptable in its own infrastructure. Moreover, Keycloak is more than just an authentication...

Red Hat Logo
Article

Spring Boot and OAuth2 with Keycloak

Kamesh Sampath

The tutorial Spring Boot and OAuth2 showed how to enable OAuth2 with Spring Boot with Facebook as AuthProvider; this blog is the extension of showing how to use KeyCloak as AuthProvider instead of Facebook. I intend to keep this example as close to the original Spring Boot and OAuth2 and will explain the changes to the configuration to make the same application work with KeyCloak. The source code for the examples are available in the github repositories listed below. Keycloak...

Article Thumbnail
Article

Spring Cloud for Microservices Compared to Kubernetes

Bilgin Ibryam

Spring Cloud and Kubernetes both claim to be the best environment for developing and running Microservices, but they are both very different in nature and address different concerns. In this article we will look at how each platform is helping in delivering Microservice based architectures (MSA), in which areas they are good at, and how to take best of both worlds in order to succeed in the Microservices journey. Background Story Recently I read a great article about building Microservice...