Uh oh!
There was an error while loading. Please reload this page.
HBASE-28501 Support non-SPNEGO authentication methods and implement s… - #5881
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
| * @throws ClientTrustStoreInitializationException if the trust store file can not be loaded | ||
| */ | ||
| public Client(Cluster cluster, Configuration conf, String trustStorePath, | ||
| public Client(Cluster cluster, Configuration conf, boolean sslEnabled, String trustStorePath, |
There was a problem hiding this comment.
The sslEnabled argument is not mentioned in the Javadoc nor used in the constructor either.
There was a problem hiding this comment.
The comment is also incorrect, as this sets sticky to false.
I will fix the comment as well.
| throws IOException, KeyStoreException, NoSuchAlgorithmException, CertificateException { | ||
| String tmpdir = | ||
| Files.createTempDirectory("hbase_rest_client_truststore").toFile().getAbsolutePath(); | ||
| String trustStoreLocation = tmpdir + File.separator + "truststore.jks"; |
There was a problem hiding this comment.
How about using Path for concatenation?
| throw new IOException(e); | ||
| } | ||
| if (stickyContext != null) { | ||
| // We set the cookie twice, but it shouldn't be a problem |
There was a problem hiding this comment.
As we discussed this comment is invalid.
Apache-HBase
commented
May 15, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 15, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 15, 2024
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
May 15, 2024
🎊 +1 overall
This message was automatically generated. |
…ession handling in REST java client library
I forgot to add the signed-off header. |
…ession handling in REST java client library (apache#5881)
…ession handling in REST java client library (apache#5881) Signed-off-by: Peter Somogyi <psomogyi@apache.org> (cherry picked from commit 716adf5) (cherry picked from commit cc0bcb4) "This commit does not contain secrets"
…ession handling in REST java client library