From e10711114be3315d5fd516ca83e6d268ee93dc48 Mon Sep 17 00:00:00 2001 From: Kohei Tamura Date: Wed, 29 May 2019 14:50:46 +0900 Subject: [PATCH] Fix wrong file names --- authorization_services/topics/service-client-api.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/authorization_services/topics/service-client-api.adoc b/authorization_services/topics/service-client-api.adoc index 0ea44912e7..d8f7b5f1a4 100644 --- a/authorization_services/topics/service-client-api.adoc +++ b/authorization_services/topics/service-client-api.adoc @@ -65,7 +65,7 @@ Considering you have a ```keycloak.json``` file in your classpath, you can creat Here is an example illustrating how to obtain user entitlements: ```java -// create a new instance based on the configuration defined in keycloak-authz.json +// create a new instance based on the configuration defined in keycloak.json AuthzClient authzClient = AuthzClient.create(); // create an authorization request @@ -84,7 +84,7 @@ System.out.println("You got an RPT: " + rpt); Here is an example illustrating how to obtain user entitlements for a set of one or more resources: ```java -// create a new instance based on the configuration defined in keycloak-authz.json +// create a new instance based on the configuration defined in keycloak.json AuthzClient authzClient = AuthzClient.create(); // create an authorization request @@ -106,7 +106,7 @@ System.out.println("You got an RPT: " + rpt); == Creating a Resource Using the Protection API ```java -// create a new instance based on the configuration defined in keycloak-authz.json +// create a new instance based on the configuration defined in keycloak.json AuthzClient authzClient = AuthzClient.create(); // create a new resource representation with the information we want @@ -137,7 +137,7 @@ System.out.println(resource); == Introspecting an RPT ```java -// create a new instance based on the configuration defined in keycloak-authz.json +// create a new instance based on the configuration defined in keycloak.json AuthzClient authzClient = AuthzClient.create(); // send the authorization request to the server in order to @@ -154,4 +154,4 @@ System.out.println("Permissions granted by the server: "); for (Permission granted : requestingPartyToken.getPermissions()) { System.out.println(granted); } -``` \ No newline at end of file +```