Easily secure your Spring Boot applications with Keycloak - Part 1

preview_player
Показать описание

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."
Рекомендации по теме
Комментарии
Автор

can't find the keycloak in the start spring io site under dependencies any more.

mafzal
Автор

Things have changed quite a bit since this screen-cast was recorded:

1. You won't find keycloak on start.spring.io anymore
Sol: Add this in your pom.xml
<dependency>


<version>14.0.0</version>
</dependency>

2. Latest springboot doesn't support .ftl files
Sol: instead of products.ftl use products.ftlh

Everything else should work fine...

RaviKumar-mevc
Автор

In the blog-post there are two typos: "product.ftl" should be "products.ftl" (else the view will not be resolved) and one should open "localhost:8081" instead of port 8080 (because the Keycloakserver is on 8080 in your example). Thanks for the tutorial, helped me a lot! Looking forward to the microservices-blogpost!

mathiasklassen
Автор

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Tue Jan 08 13:16:40 IST 2019
There was an unexpected error (type=Forbidden, status=403).
Access to the requested resource has been denied).
Without that it was working fine..
Not able to figure out the issue

hybridz
Автор

It would have been much better if you would have covered how to set up keycloak server, realm, users, roles etc. Its very difficult to guess otherwise and becomes more cumbersome when we come to know at after about 10 mins that keycloak is already running in your video with all the configurations.

Thanks

muks
Автор

can you help me because i can't find the keycloak at the start.spring.io link

adekurniawan
Автор

Could you make a video how to secure a spring boot app if its deployed on an external Wildfly webserver?

muratbayram
Автор

Hello,
Pls help...when I am clicking on products..I am getting exceptions as

hellobabyReeva
Автор

Nice tutorial but you need a denoiser for your microphone

joachimdietl
Автор

Can you config template of server or config database?

HanhNguyen-xcdm
Автор

Hello,
Thanks a lot for the great tutorial on keycloak.

Could you help me a little more?
I have a REST API implemented in Spring Boot and a Desktop app that makes HTTP calls to this api.
My question is: how can my application log in to my api using keycloak?

Thank you very much.

aldebaramn
Автор

Perfect video. Precise and informative.

NeerkumarOOPS