[
https://issues.apache.org/jira/browse/SENTRY-615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dapeng Sun updated SENTRY-615:
------------------------------
Description: Since we use {{KerberosAuthenticator}} to test Sentry Web
Authorization, it didn't handle the status code {{403}}, so it may throw
Exception in two parts:[KerberosAuthenticator |
https://github.com/apache/hadoop/blob/f71eb51ab8109c14e8e921751dd5de603bdf2bde/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/KerberosAuthenticator.java#L345]
and [AuthenticatedURL
|https://github.com/apache/hadoop/blob/f71eb51ab8109c14e8e921751dd5de603bdf2bde/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/AuthenticatedURL.java#L274],
currently we only handle {{AuthenticatedURL}}, {{KerberosAuthenticator }}
should also be considered
> [Unit Test] Fix TestSentryWebServerWithKerberos#testPingWithUnauthorizedUser
> failed in Jenkins occasionally
> -----------------------------------------------------------------------------------------------------------
>
> Key: SENTRY-615
> URL: https://issues.apache.org/jira/browse/SENTRY-615
> Project: Sentry
> Issue Type: Bug
> Reporter: Dapeng Sun
> Assignee: Dapeng Sun
>
> Since we use {{KerberosAuthenticator}} to test Sentry Web Authorization, it
> didn't handle the status code {{403}}, so it may throw Exception in two
> parts:[KerberosAuthenticator |
> https://github.com/apache/hadoop/blob/f71eb51ab8109c14e8e921751dd5de603bdf2bde/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/KerberosAuthenticator.java#L345]
> and [AuthenticatedURL
> |https://github.com/apache/hadoop/blob/f71eb51ab8109c14e8e921751dd5de603bdf2bde/hadoop-common-project/hadoop-auth/src/main/java/org/apache/hadoop/security/authentication/client/AuthenticatedURL.java#L274],
> currently we only handle {{AuthenticatedURL}}, {{KerberosAuthenticator }}
> should also be considered
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)