Easily Secure your
Applications with Keycloak
Sébastien Blanc @sebi2706
1
Delegate your Security
An open source Identity and Access
Management solution aimed at
modern applications and services.
Redirect all the things
Authenticate all the things !
One Token To rule them all
Hello JWT !!
Header
{
"alg": "HS256",
"typ": "JWT"
}
Claims
{
"exp": 1422990129,
"sub": "jimi",
"roles": [
"ROLE_ADMIN",
"ROLE_USER"
],
"iat": 1422986529
}
Signature
Keycloak’s Private Key
Compressed Header
+
Compressed Claims
SIGNS
= JWS
Verify
Keycloak’s Public Key
JWSVERIFY
Keycloak
● Out of the box solution
● Open Source
● OpenID Connect, SAML2 &
Kerberos
● Social Login Brokering
● User Federation
● SSO
● SPI
● User Account Management
Keycloak
● Key Rotation
● Brute Force Detection
● One Time Password
● Authorization Layer
● keycloak.org
○ http://www.keycloak.org/downloads.html
○ http://www.keycloak.org/documentation.html
● keycloak-user@lists.jboss.org
● https://github.com/keycloak/keycloak-quickstarts
● https://developers.redhat.com/blog/2017/05/25/easily-secure-your-spring-boot-
applications-with-keycloak/
● https://github.com/sebastienblanc/spring-boot-keycloak-tutorial/

Secure Spring Boot Microservices with Keycloak