class AuthController {

    @GetMapping(path = ALL_PUBLIC_KEYS_PATH)
    @ResponseBody
    public JSONObject getAllPublicKeys() {
        final List<JWK> keys = new LinkedList<>();
        keys.addAll(zosmfService.getPublicKeys().getKeys());
        keys.add(jwtSecurityInitializer.getJwkPublicKey());
        return new JWKSet(keys).toJSONObject(true);
    }

}