kingbbode / spring-boot-admin-samples

Samples for Spring Boot Admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-admin-samples

This repository contains some examples using Spring Boot Admin.

basic-auth

This examples shows how to add basic auth credentials when accessing the client managment endpoints without exposing them to the user. Fixed credentials are used, which must be the same for every client application. Every user who gains access to the admin server, can acces all client applications.

To implement this you simply need to add a ZuulFilter which adds the authorization header.

spring-session

This examples uses spring session backed by redis to secure the admin server. The client application can decide whether the user has access or not.

The code is basically taken from the great Spring guide on using Spring Security and Angular JS. Only small changes are necessary from the tutorial to make this run with Spring Boot Admin.

oauth2

This example shows how to secure your endpoints and the admin server using oauth2. The client application can decide wheter the user has access or not.

The code is basically taken from the great Spring guide on using Spring Security and Angular JS and only adapted so that the ui server becomes the admin server and the necessary security config to allow the health-checks.

About

Samples for Spring Boot Admin


Languages

Language:Java 86.7%Language:FreeMarker 9.9%Language:HTML 3.4%