Authorization HTTP header is missing
in the request,
Authorization header - then
the exception indicates that authorization has been refused for the credentials contained
in the request header.
| Modifier and Type | Field and Description |
|---|---|
| private transient List | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NotAuthorizedException(Object
authorization challenge applicable to the resource requested
by the client. challenge, Object... additional authorization challenge applicable to the
requested resource. moreChallenges)Construct a new "not authorized" exception. |
| public | NotAuthorizedException(String
the detail message (which is saved for later retrieval
by the message, Object getMessage() method).authorization challenge applicable to the resource requested
by the client. challenge, Object... additional authorization challenge applicable to the
requested resource. moreChallenges)Construct a new "not authorized" exception. |
| public | |
| public | NotAuthorizedException(String
the detail message (which is saved for later retrieval
by the message, Response getMessage() method).error response. response)Construct a new "not authorized" exception. |
| public | NotAuthorizedException(Throwable
the underlying cause of the exception. cause, Object authorization challenge applicable to the requested resource. challenge, Object... additional authorization challenge applicable to the
requested resource. moreChallenges)Construct a new "not authorized" exception. |
| public | NotAuthorizedException(String
the detail message (which is saved for later retrieval
by the message, Throwable getMessage() method).the underlying cause of the exception. cause, Object authorization challenge applicable to the requested resource. challenge, Object... additional authorization challenge applicable to the
requested resource. moreChallenges)Construct a new "not authorized" exception. |
| public | NotAuthorizedException(Response
error response. response, Throwable the underlying cause of the exception. cause)Construct a new "not authorized" exception. |
| public | NotAuthorizedException(String
the detail message (which is saved for later retrieval
by the message, Response getMessage() method).error response. response, Throwable the underlying cause of the exception. cause)Construct a new "not authorized" exception. |
| Modifier and Type | Method and Description |
|---|---|
| private static List | |
| private static Response | |
| public List | Returns: list of authorization challenges applicable to the resource requested by the client.Get the list of authorization challenges associated with the exception and applicable to the resource requested by the client. |
| challenges | back to summary |
|---|---|
| private transient List<Object> challenges | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(Object challenge, Object... moreChallenges) Construct a new "not authorized" exception.
| |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(String message, Object challenge, Object... moreChallenges) Construct a new "not authorized" exception.
| |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(Response response) Construct a new "not authorized" exception.
| |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(String message, Response response) Construct a new "not authorized" exception.
| |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(Throwable cause, Object challenge, Object... moreChallenges) Construct a new "not authorized" exception. | |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(String message, Throwable cause, Object challenge, Object... moreChallenges) Construct a new "not authorized" exception.
| |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(Response response, Throwable cause) Construct a new "not authorized" exception.
| |
| NotAuthorizedException | back to summary |
|---|---|
| public NotAuthorizedException(String message, Response response, Throwable cause) Construct a new "not authorized" exception.
| |
| cacheChallenges | back to summary |
|---|---|
| private static List | |
| createUnauthorizedResponse | back to summary |
|---|---|
| private static Response createUnauthorizedResponse(Object challenge, Object[] otherChallenges) | |
| getChallenges | back to summary |
|---|---|
| public List Get the list of authorization challenges associated with the exception and applicable to the resource requested by the client. | |