Class ResourceOwnerConsentRequiredException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.forgerock.oauth2.core.exceptions.OAuth2Exception
-
- org.forgerock.oauth2.core.exceptions.ResourceOwnerConsentRequiredException
-
- All Implemented Interfaces:
Serializable
public class ResourceOwnerConsentRequiredException extends OAuth2Exception
Thrown when the OpenID Connect prompt parameter enforces that the resource owner is not asked for consent, but the resource owner's consent has not been previously stored.- Since:
- 12.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceOwnerConsentRequiredException(OAuth2Constants.UrlLocation urlLocation)Constructs a new ResourceOwnerConsentRequiredException with the default message, with the error set in the appropriate location in the response.
-
Method Summary
-
Methods inherited from class org.forgerock.oauth2.core.exceptions.OAuth2Exception
getError, getParameterLocation, getStatusCode
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ResourceOwnerConsentRequiredException
public ResourceOwnerConsentRequiredException(OAuth2Constants.UrlLocation urlLocation)
Constructs a new ResourceOwnerConsentRequiredException with the default message, with the error set in the appropriate location in the response.
-
-