Uses of Package
org.forgerock.oauth2.core.exceptions
-
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.oauth2.core Class Description AccessDeniedException Thrown when the resource owner authentication fails.AuthorizationDeclinedException An exception representing a declined authorization request from the user in a device code flow.AuthorizationPendingException An exception representing a pending authorization request in a device code flow.BadRequestException Thrown when the request is malformed.ClientAuthenticationFailureFactory Produces exceptions to handle the invalid_client error of the OAuth2 specification, particularly in handling the error code returned.CsrfException Thrown when a CSRF attack is detected.DuplicateRequestParameterException Thrown when the duplicate request parameter is found.ExpiredTokenException Thrown when an expired access token or refresh token is used.InteractionRequiredException Thrown when the OpenID connect prompt parameter enforces that the resource owner is not asked to authenticate, but the resource owner does not have a current authenticated session.InvalidClientException Thrown when either the request does not contain the client's id or the client fails to be authenticated.InvalidCodeException Thrown when an expired authorization code is used to request an access token.InvalidGrantException Thrown when the requested grant type is not supported/InvalidRequestException Thrown when the request is missing any required parameters or is otherwise malformed.InvalidScopeException Thrown when the requested scope is invalid, unknown, or malformed.InvalidTokenException Thrown when a access token is used which does not exist on the OAuth2 provider.LoginRequiredException Thrown when the authentication of the resource owner fails.NotFoundException Thrown when a user cannot be found.RedirectUriMismatchException Thrown when the redirect uri on the request does not match the redirect uri registered for the client.ResourceOwnerAuthenticationRequired Thrown when the resource owner needs to be authenticated before the authorization can be granted to a OAuth2 client.ResourceOwnerConsentRequired Thrown when the resource owner's consent is required before the authorization can be granted to a OAuth2 client.ResourceOwnerConsentRequiredException 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.ServerException Thrown when any internal server error occurs.UnauthorizedClientException Thrown when client authorization fails.UnsupportedResponseTypeException Thrown when the requested response type is not supported by either the client or the OAuth2 provider. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.oauth2.core.exceptions Class Description InvalidClientException Thrown when either the request does not contain the client's id or the client fails to be authenticated.InvalidScopeException Thrown when the requested scope is invalid, unknown, or malformed.NotFoundException Thrown when a user cannot be found.OAuth2Exception Base exception for all OAuth2 exceptions. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.oauth2.resources Class Description BadRequestException Thrown when the request is malformed.NotFoundException Thrown when a user cannot be found.ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.oauth2.restlet Class Description ClientAuthenticationFailureFactory Produces exceptions to handle the invalid_client error of the OAuth2 specification, particularly in handling the error code returned.InvalidGrantException Thrown when the requested grant type is not supported/NotFoundException Thrown when a user cannot be found.OAuth2Exception Base exception for all OAuth2 exceptions.ResourceOwnerConsentRequired Thrown when the resource owner's consent is required before the authorization can be granted to a OAuth2 client.ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.oauth2.restlet.resources Class Description BadRequestException Thrown when the request is malformed.ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.oauth2 Class Description ClientAuthenticationFailureFactory Produces exceptions to handle the invalid_client error of the OAuth2 specification, particularly in handling the error code returned.InvalidClientException Thrown when either the request does not contain the client's id or the client fails to be authenticated.InvalidGrantException Thrown when the requested grant type is not supported/InvalidRequestException Thrown when the request is missing any required parameters or is otherwise malformed.InvalidScopeException Thrown when the requested scope is invalid, unknown, or malformed.NotFoundException Thrown when a user cannot be found.ServerException Thrown when any internal server error occurs.UnauthorizedClientException Thrown when client authorization fails. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.oauth2.guice Class Description ClientAuthenticationFailureFactory Produces exceptions to handle the invalid_client error of the OAuth2 specification, particularly in handling the error code returned.InvalidGrantException Thrown when the requested grant type is not supported/ -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.oauth2.resources Class Description BadRequestException Thrown when the request is malformed.NotFoundException Thrown when a user cannot be found.ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.oauth2.saml2.core Class Description InvalidClientException Thrown when either the request does not contain the client's id or the client fails to be authenticated.InvalidGrantException Thrown when the requested grant type is not supported/InvalidRequestException Thrown when the request is missing any required parameters or is otherwise malformed.InvalidScopeException Thrown when the requested scope is invalid, unknown, or malformed.NotFoundException Thrown when a user cannot be found.ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.oauth2.validation Class Description InvalidRequestException Thrown when the request is missing any required parameters or is otherwise malformed. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.uma Class Description BadRequestException Thrown when the request is malformed.NotFoundException Thrown when a user cannot be found.OAuth2Exception Base exception for all OAuth2 exceptions.ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.uma.audit Class Description NotFoundException Thrown when a user cannot be found.ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openam.uma.rest Class Description ServerException Thrown when any internal server error occurs. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openidconnect Class Description AccessDeniedException Thrown when the resource owner authentication fails.BadRequestException Thrown when the request is malformed.ClientAuthenticationFailureFactory Produces exceptions to handle the invalid_client error of the OAuth2 specification, particularly in handling the error code returned.InvalidClientException Thrown when either the request does not contain the client's id or the client fails to be authenticated.InvalidRequestException Thrown when the request is missing any required parameters or is otherwise malformed.InvalidScopeException Thrown when the requested scope is invalid, unknown, or malformed.InvalidTokenException Thrown when a access token is used which does not exist on the OAuth2 provider.NotFoundException Thrown when a user cannot be found.OAuth2Exception Base exception for all OAuth2 exceptions.RedirectUriMismatchException Thrown when the redirect uri on the request does not match the redirect uri registered for the client.ResourceOwnerConsentRequiredException 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.ServerException Thrown when any internal server error occurs.UnauthorizedClientException Thrown when client authorization fails.UnsupportedResponseTypeException Thrown when the requested response type is not supported by either the client or the OAuth2 provider. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openidconnect.exceptions Class Description OAuth2Exception Base exception for all OAuth2 exceptions. -
Classes in org.forgerock.oauth2.core.exceptions used by org.forgerock.openidconnect.restlet Class Description InvalidClientException Thrown when either the request does not contain the client's id or the client fails to be authenticated.NotFoundException Thrown when a user cannot be found.UnauthorizedClientException Thrown when client authorization fails.