Set Up Policy Enforcer

I am new to keycloak and i am going through with the quickstart at the Link:

Purpose:

  • The project merely expose one Rest-API:

@RestController
public class ApplicationController {

@RequestMapping(value = "/api/{employee}", method = RequestMethod.GET)
public Employee salary(@PathVariable String employee) {
    return new Employee(employee);
}

public static class Employee {

    private final String name;

    public Employee(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}

}