Package io.gravitee.am.service.exception
Class InvalidPermissionRequestException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.gravitee.am.common.exception.oauth2.OAuth2Exception
io.gravitee.am.service.exception.InvalidPermissionRequestException
- All Implemented Interfaces:
Serializable
If the permission request contains not found/invalid resource_id or resource_scopes, it must fail with a 400 error
and the corresponding error_code & description.
https://docs.kantarainitiative.org/uma/wg/rec-oauth-uma-federated-authz-2.0.html#rfc.section.4.3
- Author:
- Alexandre FARIA (contact at alexandrefaria.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InvalidPermissionRequestExceptionstatic final InvalidPermissionRequestExceptionstatic final InvalidPermissionRequestException -
Method Summary
Methods inherited from class io.gravitee.am.common.exception.oauth2.OAuth2Exception
getHttpStatusCode, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
INVALID_RESOURCE_OWNER
-
INVALID_RESOURCE_ID
-
INVALID_SCOPE_RESOURCE
-
-
Method Details
-
getOAuth2ErrorCode
- Overrides:
getOAuth2ErrorCodein classOAuth2Exception
-