You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[THREESCALE-2236] Add methods option on Keycloak policy.
This commits add the `methods` option on the Keycloak policy. That
allow users to define a new policy from any jwt claim, resource and
method.
To be backwards compatible 'ANY' method is in place, and if methods are
not defined this global method will be used and all will work as normal.
Example policy:
```
"policy_chain": [
{
"name": "apicast.policy.keycloak_role_check",
"configuration": {
"scopes": [
{
"realm_roles": [ { "name": "director" } ],
"resource": "/confidential",
"methods": ["POST"]
}
],
"type": "blacklist"
}
},
{ "name": "apicast.policy.apicast" }
]
```
Signed-off-by: Eloy Coto <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
12
12
- "Upstream Connection" policy. It allows to configure several options for the connections to the upstream [PR #1025](https://github.com/3scale/APIcast/pull/1025), [THREESCALE-2166](https://issues.jboss.org/browse/THREESCALE-2166)
13
13
- Enable APICAST_EXTENDED_METRICS environment variable to provide additional details [PR #1024](https://github.com/3scale/APIcast/pull/1024)[THREESCALE-2150](https://issues.jboss.org/browse/THREESCALE-2150)
14
14
- Add the option to obtain client_id from any JWT claim [THREESCALE-2264](https://issues.jboss.org/browse/THREESCALE-2264)[PR #1034](https://github.com/3scale/APIcast/pull/1034)
15
-
16
15
- Added `APICAST_PATH_ROUTING_ONLY` variable that allows to perform path-based routing without falling back to the default host-based routing [PR #1035](https://github.com/3scale/APIcast/pull/1035), [THREESCALE-1150](https://issues.jboss.org/browse/THREESCALE-1150)
16
+
- Added the option to manage access based on method on Keycloak Policy. [THREESCALE-2236](https://issues.jboss.org/browse/THREESCALE-2236)[PR #](https://github.com/3scale/APIcast/pull/)
0 commit comments