Class 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 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.