cloud-native-microservices-security
  • Introduction
  • Introduction
    • Requirements and Setup
    • Demo Application Architecture
  • Hands-On Labs
    • 1.Security via Spring Boot Auto-Configuration
    • 2.Customized Authentication
    • 3.Mutual TLS (MTLS)
    • 4.Authorization
    • 5.Automated Testing
    • 6.Kubernetes Security
      • 6.1.Docker as Root
      • 6.2.Docker as NonRoot
      • 6.3.Kubernetes Deployment
      • 6.4.Kubernetes Pod Security Context
      • 6.5.Kubernetes Pod Security Policies
  • Bonus Labs
    • CSRF Attack Demo
    • Web Authn
Powered by GitBook
On this page
  • Requirements
  • General Requirements
  • Requirements for the MTLS lab
  • Requirements for the Kubernetes lab
  • IntelliJ specific requirements
  • Eclipse IDE specific requirements
  • Visual Studio Code specific requirements
  • Get the source code

Was this helpful?

  1. Introduction

Requirements and Setup

PreviousIntroductionNextDemo Application Architecture

Last updated 3 years ago

Was this helpful?

Requirements

General Requirements

  • Version 11 (LTS version) or later should work

  • A Java IDE like

    • ...

  • , , or for REST calls

In case you select , then the provided might be helpful. Just import this into Postman.

Requirements for the MTLS lab

  • to create trusted certificates for localhost. Please follow

    the to set this up

    on your machine.

  • to manage keystore contents. To install it just go to the page and get the appropriate

    installer for your operating system

Requirements for the Kubernetes lab

Depending on your operating system you have different choices to install Docker and a local Kubernetes cluster for this lab.

IntelliJ specific requirements

IntelliJ does not require any specific additional plugins or configuration.

Eclipse IDE specific requirements

In case you want to stick to your plain Eclipse installation then you have to add the following features via the eclipse marketplace:

  • Buildship Gradle Integration (Version 3.x). This might be already pre-installed depending

    on your eclipse variant (e.g., Eclipse JavaEE) installed

  • Spring Tools 4 for Spring Boot (Spring Tool Suite 4)

Visual Studio Code specific requirements

To be able to work properly in Visual Studio Code with this Spring Boot Java Gradle project you need at least these extensions:

  • Java Extension Pack

  • vscode-gradle-language

  • VS Code Spring Boot Application Development Extension Pack

Get the source code

git clone https://github.com/andifalk/cloud-native-microservices-security.git security_workshop

After that you can import the whole workshop project directory into your IDE as a gradle project:

Windows: On Windows you can install together with included standalone Kubernetes server/client

Mac OS: On MAC you can install together with included standalone Kubernetes server/client

Linux: On Linux you might already have installed native Docker support, otherwise install .

Regarding Kubernetes, you can either install + or an alternative one like .

Note: + would also be an alternative for Windows or Mac as well.

If you are an Eclipse user, then the usage of the Eclipse-based is strongly recommended. This eclipse variant already has all the required gradle and spring boot support pre-installed.

Clone this GitHub repository ():

: "New project from existing sources..." and then select 'Gradle' when prompted

or : "Import/Gradle/Existing gradle project"

: Just open the root directory and wait until VS Code configured the project

Java SDK
Eclipse
Spring Toolsuite
IntelliJ
Visual Studio Code
Git
Postman
Httpie
Curl
Postman
Postman Collection
Postman Collection (Version 2.1 format)
mkcert
installation instructions
Keystore Explorer
Keystore Downloads
Docker Desktop for Windows
Docker Desktop for Mac
Docker for Linux
Minikube
VirtualBox
Kind
Minikube
VirtualBox
Spring Toolsuite
https://github.com/andifalk/cloud-native-microservices-security
IntelliJ
Eclipse
Spring ToolSuite
Visual Studio Code