suyambuganesh / gravitee-policy-uma

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UMA2 Policy

Phase

onRequest onResponse

X

X

Description

The UMA2 policy checks that a user is authorised to access a given resource.

$ curl -H "Authorization: Bearer |accessToken|" \
           http://gateway/api/resource

Configuration

Http Status Code

Code Message

401

In case of:

* No OAuth Authorization Server resource has been configured

* No OAuth authorization header was supplied

* No OAuth access_token was supplied

* Access token can not be validated by authorization server

403

In case of:

* Access token can not be validated because of a technical error with authorization server.

* One of the required scopes is missing while introspecting access token.

About

License:Apache License 2.0


Languages

Language:Java 100.0%