From b7acf4edb2b721b5099d03e273152d6c14e2546d Mon Sep 17 00:00:00 2001 From: Pedro Igor Date: Wed, 8 Jun 2016 09:32:31 -0300 Subject: [PATCH] Fixing typos --- topics/getting-started/hello-world.adoc | 4 +++- topics/permission/create-resource.adoc | 4 ++-- topics/permission/create-scope.adoc | 6 +++--- topics/policy/drools-policy.adoc | 4 ++-- topics/policy/js-policy.adoc | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/topics/getting-started/hello-world.adoc b/topics/getting-started/hello-world.adoc index c3c4e35413..9af984c3d2 100755 --- a/topics/getting-started/hello-world.adoc +++ b/topics/getting-started/hello-world.adoc @@ -350,4 +350,6 @@ The RPT provides everything you need to enforce authorization decisions at the r * Decoding the RPT and extracting the permissions * Checking if a request sent to the resource server trying to access a protected resource matches any permissions within the RPT -You can even use the information within a RPT to protect resources within a page like buttons or any other visual component. \ No newline at end of file +You can even use the information within a RPT to protect resources within a page like buttons or any other visual component. + +Another way to validate a RPT and obtain the granted permissions is using the link:../service/protection/token-introspection.html[Token Introspection Endpoint]. \ No newline at end of file diff --git a/topics/permission/create-resource.adoc b/topics/permission/create-resource.adoc index 7c76d95092..3a09051a80 100755 --- a/topics/permission/create-resource.adoc +++ b/topics/permission/create-resource.adoc @@ -1,8 +1,8 @@ == Creating Resource-based Permissions -A Resource-based permissions defines a set of one or more resources to protect using a set of one or more authorization policies. +A Resource-based permissionsdefines a set of one or more resources to protect using a set of one or more authorization policies. -To create a new permission select the option *Resource-based* in the dropdown located in the right upper corner of the permission listing. In {{book.project.name}}, a resource-based permissions consist of the following information: +To create a new permission select the option *Resource-based* in the dropdown located in the right upper corner of the permission listing. In {{book.project.name}}, a resource-based permission consists of the following information: * *Name* + diff --git a/topics/permission/create-scope.adoc b/topics/permission/create-scope.adoc index e83ec0f934..eb96d2e7b7 100755 --- a/topics/permission/create-scope.adoc +++ b/topics/permission/create-scope.adoc @@ -1,10 +1,10 @@ == Creating Resource-based Permissions -A Scope-based permissions defines a set of one or more scopes to protect using a set of one or more authorization policies. Unlike the resource-based permissions, this permission type -allows you to create permissions not only for the resource, but also for the scopes associated with it, providing you more granularity when defining the permissions that rule your resources and the +A Scope-based permission defines a set of one or more scopes to protect using a set of one or more authorization policies. Unlike the resource-based permissions, this permission type +allows you to create permissions not only for a resource, but also for the scopes associated with it, providing more granularity when defining the permissions that rule your resources and the actions that can be performed on them. -To create a new permission select the option *Scope-based* in the dropdown located in the right upper corner of the permission listing. In {{book.project.name}}, a scope-based permissions consist of the following information: +To create a new permission select the option *Scope-based* in the dropdown located in the right upper corner of the permission listing. In {{book.project.name}}, a scope-based permission consists of the following information: * *Name* + diff --git a/topics/policy/drools-policy.adoc b/topics/policy/drools-policy.adoc index e43020afb7..cde475a95f 100644 --- a/topics/policy/drools-policy.adoc +++ b/topics/policy/drools-policy.adoc @@ -1,7 +1,7 @@ == Drools-Based Policy -This type of policy allows you to define conditions for your permissions using Drools Rules. It is one of the _Rule-Based_ policy types -supported by {{book.project.name}}, giving to you a lot of flexibility to write any policy based on the link::/policy/evaluation-api.adoc[Evaluation API]. +This type of policy allows you to define conditions for your permissions using Drools. It is one of the _Rule-Based_ policy types +supported by {{book.project.name}}, providing a lot of flexibility to write any policy based on the link::/policy/evaluation-api.adoc[Evaluation API]. === Configuration diff --git a/topics/policy/js-policy.adoc b/topics/policy/js-policy.adoc index 2ced1db72b..34854bc235 100644 --- a/topics/policy/js-policy.adoc +++ b/topics/policy/js-policy.adoc @@ -1,7 +1,7 @@ == JavaScript-Based Policy This type of policy allows you to define conditions for your permissions using JavaScript. It is one of the _Rule-Based_ policy types -supported by {{book.project.name}}, giving to you a lot of flexibility to write any policy based on the link::/policy/evaluation-api.adoc[Evaluation API]. +supported by {{book.project.name}}, providing lot of flexibility to write any policy based on the link::/policy/evaluation-api.adoc[Evaluation API]. === Configuration