Keycloak/Authorization SpringBoot example for devconf 2019
- Start Keycloak:
cd $KEYCLOAK_HOME/bin
./standalone.sh -Djboss.socket.binding.port-offset=100
-
Import realm cars-realm.json
-
Build
mvn clean install
-
Run CarsServiceApp and CarsApp from IDE (TODO: Need to describe how to run from mvn with the springboot plugin)
-
Go to http://localhost:8080/app and login as alice/alice or other user (See cars-realm.json for the users/passwords).
-
Switching between branches
master
for not-UMA setup (demo part1) andauthz-backup
for UMA setup (demo part2)