[
https://issues.apache.org/jira/browse/HADOOP-19227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866907#comment-17866907
]
ASF GitHub Bot commented on HADOOP-19227:
-----------------------------------------
szetszwo opened a new pull request, #6949:
URL: https://github.com/apache/hadoop/pull/6949
### Description of PR
HADOOP-19227
In Server.Connection.buildSaslNegotiateResponse(), it accelerates token
negotiation by sending initial challenge in the negotiation response. However,
it is a non-standard SASL negotiation. We should do it only for the default
SASL mechanism.
### How was this patch tested?
By existing tests.
### For code changes:
- [X] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'HADOOP-17799. Your PR title ...')?
- [NA] Object storage: have the integration tests been executed and the
endpoint declared according to the connector-specific documentation?
- [NA] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [NA] If applicable, have you updated the `LICENSE`, `LICENSE-binary`,
`NOTICE-binary` files?
> ipc.Server accelerate token negotiation only for the default mechanism
> ----------------------------------------------------------------------
>
> Key: HADOOP-19227
> URL: https://issues.apache.org/jira/browse/HADOOP-19227
> Project: Hadoop Common
> Issue Type: Improvement
> Components: ipc
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> {code}
> //Server.java
> // accelerate token negotiation by sending initial challenge
> // in the negotiation response
> if (enabledAuthMethods.contains(AuthMethod.TOKEN)) {
> ...
> }
> {code}
> In Server.Connection.buildSaslNegotiateResponse() above, it accelerates token
> negotiation by sending initial challenge in the negotiation response.
> However, it is a non-standard SASL
> negotiation. We should do it only for the default SASL mechanism.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]