Skip to content

Conversation

@slackwinner
Copy link
Contributor

This commit contains introduces a fourth from() that accepts URL paths to accumulo-client.properties. This additional method would allow users to build an Accumulo client from the properties file embedded in the classpath.

Copy link
Member

@ctubbsii ctubbsii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this looks great to me, but it seems there's a spotbugs check that needs to be fixed first:

[ERROR] Medium: This web server request could be used by an attacker to expose internal services and filesystem.
  [org.apache.accumulo.core.clientImpl.ClientInfoImpl, org.apache.accumulo.core.clientImpl.ClientContext$ClientBuilderImpl, org.apache.accumulo.core.clientImpl.ClientInfo, org.apache.accumulo.core.clientImpl.ClientInfoImpl]
  At ClientInfoImpl.java:[line 127]
  At ClientContext.java:[line 803]
  At ClientInfo.java:[line 87]
  At ClientInfoImpl.java:[line 47] URLCONNECTION_SSRF_FD

This commit contains changes that accepts
URL paths to accumulo-client.properties
@slackwinner slackwinner force-pushed the accumulo-fromClassPath branch from e64d57f to 52fce35 Compare May 6, 2021 14:42
@slackwinner slackwinner requested a review from ctubbsii May 11, 2021 09:47
@ctubbsii ctubbsii merged commit 714c5bb into apache:main May 11, 2021
@slackwinner slackwinner deleted the accumulo-fromClassPath branch May 12, 2021 10:39
Manno15 pushed a commit to Manno15/accumulo that referenced this pull request May 12, 2021
This commit contains changes that accepts
URL paths to accumulo-client.properties
@ctubbsii ctubbsii added this to the 2.1.0 milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants