Fix wrong file names

This commit is contained in:
Kohei Tamura 2019-05-29 14:50:46 +09:00 committed by Pedro Igor
parent 506998db61
commit e10711114b

View file

@ -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: Here is an example illustrating how to obtain user entitlements:
```java ```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(); AuthzClient authzClient = AuthzClient.create();
// create an authorization request // 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: Here is an example illustrating how to obtain user entitlements for a set of one or more resources:
```java ```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(); AuthzClient authzClient = AuthzClient.create();
// create an authorization request // create an authorization request
@ -106,7 +106,7 @@ System.out.println("You got an RPT: " + rpt);
== Creating a Resource Using the Protection API == Creating a Resource Using the Protection API
```java ```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(); AuthzClient authzClient = AuthzClient.create();
// create a new resource representation with the information we want // create a new resource representation with the information we want
@ -137,7 +137,7 @@ System.out.println(resource);
== Introspecting an RPT == Introspecting an RPT
```java ```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(); AuthzClient authzClient = AuthzClient.create();
// send the authorization request to the server in order to // send the authorization request to the server in order to