Skip to content

feat: add whitelisting to subject certificate policies and collect known Estonian production policies - #142

Open
svenzik wants to merge 2 commits into
v4from
WE2-1308
Open

svenzik wants to merge 2 commits into
v4from
WE2-1308

feat: limit whitelist to ID-cards

d55854e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 14, 2026 in 32s

Annotations

Check warning on line 50 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.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=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9b&open=AaE7eGqH2rqbzzSP7W9b&pullRequest=142

Check warning on line 51 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "validator" which hides the field declared at line 33.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9c&open=AaE7eGqH2rqbzzSP7W9c&pullRequest=142

Check warning on line 81 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.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=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9h&open=AaE7eGqH2rqbzzSP7W9h&pullRequest=142

Check warning on line 66 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.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=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9f&open=AaE7eGqH2rqbzzSP7W9f&pullRequest=142

Check warning on line 59 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "validator" which hides the field declared at line 33.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9e&open=AaE7eGqH2rqbzzSP7W9e&pullRequest=142

Check warning on line 42 in src/main/java/eu/webeid/security/certificate/SubjectCertificatePolicies.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this member "protected".

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGjI2rqbzzSP7W9W&open=AaE7eGjI2rqbzzSP7W9W&pullRequest=142

Check warning on line 67 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "validator" which hides the field declared at line 33.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9g&open=AaE7eGqH2rqbzzSP7W9g&pullRequest=142

Check warning on line 82 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "validator" which hides the field declared at line 33.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9i&open=AaE7eGqH2rqbzzSP7W9i&pullRequest=142

Check warning on line 34 in src/main/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGl12rqbzzSP7W9a&open=AaE7eGl12rqbzzSP7W9a&pullRequest=142

Check warning on line 30 in src/main/java/eu/webeid/security/validator/AuthTokenValidationConfiguration.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @deprecated Javadoc tag.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGlf2rqbzzSP7W9Y&open=AaE7eGlf2rqbzzSP7W9Y&pullRequest=142

Check warning on line 58 in src/test/java/eu/webeid/security/validator/certvalidators/SubjectCertificatePolicyValidatorTest.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=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGqH2rqbzzSP7W9d&open=AaE7eGqH2rqbzzSP7W9d&pullRequest=142

Check warning on line 81 in src/main/java/eu/webeid/security/validator/AuthTokenValidationConfiguration.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGlf2rqbzzSP7W9Z&open=AaE7eGlf2rqbzzSP7W9Z&pullRequest=142

Check warning on line 30 in src/main/java/eu/webeid/security/validator/AuthTokenValidationConfiguration.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

See more on https://sonarcloud.io/project/issues?id=web-eid_web-eid-authtoken-validation-java&issues=AaE7eGlf2rqbzzSP7W9X&open=AaE7eGlf2rqbzzSP7W9X&pullRequest=142