5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-07 00:03:22 +08:00

SQOOP-2166: Sqoop2: Add "Authorization Exception" error code in SecurityError.java

(Richard Zhou via Abraham Elmahrek)
This commit is contained in:
Abraham Elmahrek 2015-03-04 18:24:26 -08:00
parent 6872bebc17
commit e6cb1d6231

View File

@ -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;