Skip to content

feat(sdk): DSPX-5640 negotiate DPoP htu style from server advertisement - #441

Draft
dmihalcik-virtru wants to merge 1 commit into
mainfrom
DSPX-5640-java-sdk-dpop-negotiation
Draft

dmihalcik-virtru wants to merge 1 commit into
mainfrom
DSPX-5640-java-sdk-dpop-negotiation

feat(sdk): DSPX-5640 negotiate DPoP htu style from server advertisement

a312805
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Nov 12, 2026 in 24s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 122 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwP8&open=AaHRwJGhw9RFyM_sMwP8&pullRequest=441

Check warning on line 318 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwQF&open=AaHRwJGhw9RFyM_sMwQF&pullRequest=441

Check warning on line 145 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwP_&open=AaHRwJGhw9RFyM_sMwP_&pullRequest=441

Check warning on line 227 in sdk/src/main/java/io/opentdf/platform/sdk/TokenSource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Group parts of the regex together to make the intended operator precedence explicit.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJQjw9RFyM_sMwQJ&open=AaHRwJQjw9RFyM_sMwQJ&pullRequest=441

Check warning on line 240 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwQD&open=AaHRwJGhw9RFyM_sMwQD&pullRequest=441

Check warning on line 151 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwQA&open=AaHRwJGhw9RFyM_sMwQA&pullRequest=441

Check warning on line 335 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwQG&open=AaHRwJGhw9RFyM_sMwQG&pullRequest=441

Check warning on line 150 in sdk/src/main/java/io/opentdf/platform/sdk/DPoPModeResolver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJNnw9RFyM_sMwQH&open=AaHRwJNnw9RFyM_sMwQH&pullRequest=441

Check warning on line 108 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwP6&open=AaHRwJGhw9RFyM_sMwP6&pullRequest=441

Check warning on line 231 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwQC&open=AaHRwJGhw9RFyM_sMwQC&pullRequest=441

Check warning on line 249 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwQE&open=AaHRwJGhw9RFyM_sMwQE&pullRequest=441

Check warning on line 129 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwP9&open=AaHRwJGhw9RFyM_sMwP9&pullRequest=441

Check warning on line 227 in sdk/src/main/java/io/opentdf/platform/sdk/TokenSource.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJQjw9RFyM_sMwQK&open=AaHRwJQjw9RFyM_sMwQK&pullRequest=441

Check warning on line 137 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwP-&open=AaHRwJGhw9RFyM_sMwP-&pullRequest=441

Check warning on line 115 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwP7&open=AaHRwJGhw9RFyM_sMwP7&pullRequest=441

Check failure on line 125 in sdk/src/main/java/io/opentdf/platform/sdk/DPoPModeResolver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "configuration" 3 times.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJNnw9RFyM_sMwQI&open=AaHRwJNnw9RFyM_sMwQI&pullRequest=441

Check warning on line 214 in sdk/src/test/java/io/opentdf/platform/sdk/DPoPModeTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the declaration of thrown exception 'java.lang.Exception', as it cannot be thrown from method's body.

See more on https://sonarcloud.io/project/issues?id=opentdf_java-sdk&issues=AaHRwJGhw9RFyM_sMwQB&open=AaHRwJGhw9RFyM_sMwQB&pullRequest=441