Merge pull request #94 from jenmalloy/RHSSO-920-2

fixed remaining issues for RHSSO-920
This commit is contained in:
Jen Malloy 2017-04-03 10:34:03 -04:00 committed by GitHub
commit c2387f1ed5
2 changed files with 2 additions and 4 deletions

View file

@ -7,7 +7,7 @@ This library is based on the {{book.project.name}} JavaScript adapter, which can
You can obtain this library from a running a {{book.project.name}} Server instance by including the following `script` tag in your web page:
```html
<script src="http://$.../auth/js/keycloak-authz.js"></script>
<script src="http://.../auth/js/keycloak-authz.js"></script>
```
Once you do that, you can create a `KeycloakAuthorization` instance as follows:

View file

@ -46,6 +46,4 @@ This permission is a <<fake/../../permission/create-resource.adoc#_permission_cr
You can change the default configuration by removing the default resource, policy, or permission definitions and creating your own.
[NOTE]
The default configuration defines a resource that maps to all paths in your application. If you are about to write permissions to your own resources, be sure
to remove the *Default Resource* or change its ```URI``` field to a more specific path in your application. Otherwise, the policy associated with the default resource (which by default is always granting access)
will make Keycloak grant access to any protected resource.
The default configuration defines a resource that maps to all paths in your application. If you are about to write permissions to your own resources, be sure to remove the *Default Resource* or change its ```URI``` field to a more specific path in your application. Otherwise, the policy associated with the default resource (which by default always grants access) will allow {{book.project.name}} to grant access to any protected resource.