Sample implementation code of spring security oauth2 keycloak technology.
1- http://localhost:8080/employee/all [GET]
2- http://localhost:8080/employee/{id} [GET]
{
"user" : "admin",
"password" : "admin"
}
{
"user" : "user",
"password" : "user"
}