mirror of
https://github.com/apache/sqoop.git
synced 2025-05-06 23:31:51 +08:00
SQOOP-2166: Sqoop2: Add "Authorization Exception" error code in SecurityError.java
(Richard Zhou via Abraham Elmahrek)
This commit is contained in:
parent
6872bebc17
commit
e6cb1d6231
@ -61,7 +61,10 @@ public enum SecurityError implements ErrorCode {
|
|||||||
AUTH_0012("Unable to get role name from http request"),
|
AUTH_0012("Unable to get role name from http request"),
|
||||||
|
|
||||||
/** The system was not able to get principal from http request. */
|
/** The system was not able to get principal from http request. */
|
||||||
AUTH_0013("Unable to get principal from http request");
|
AUTH_0013("Unable to get principal from http request"),
|
||||||
|
|
||||||
|
/** Authorization Exception, used by authorization implementation, etc. Sentry. */
|
||||||
|
AUTH_0014("Authorization exception");
|
||||||
|
|
||||||
private final String message;
|
private final String message;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user