Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/18978#discussion_r134018692
--- Diff:
common/network-common/src/main/java/org/apache/spark/network/crypto/AuthEngine.java
---
@@ -106,9 +127,22 @@ ClientChallenge challenge() throws
GeneralSecurityException, IOException {
*/
ServerResponse respond(ClientChallenge clientChallenge)
throws GeneralSecurityException, IOException {
+ SecretKeySpec authKey;
+ if (conf.isConnectionUsingTokens()) {
+ // Create a secret from client's token identifier and AM's master
key.
+ ClientToAMTokenSecretManager secretManager = new
ClientToAMTokenSecretManager(null,
--- End diff --
see comment in SparkSaslServer about making this common
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]