Skip to content

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

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

svenzik wants to merge 4 commits into
v4from
WE2-1308

feat: remove ESTEID_SK_2015_MOBILE_ID disallowed policy from configur…

52f86e8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 16, 2026 in 43s

Annotations

Check warning on line 38 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 101 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 40.

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

Check warning on line 62 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 118 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 97 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=AaFEJGIza2PiRfMYyz28&open=AaFEJGIza2PiRfMYyz28&pullRequest=142

Check warning on line 100 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=AaFDx6_87-irjB7rjtWd&open=AaFDx6_87-irjB7rjtWd&pullRequest=142

Check warning on line 63 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 40.

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 32 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=AaFEHzSYSBXvSp8l_KBo&open=AaFEHzSYSBXvSp8l_KBo&pullRequest=142

Check warning on line 79 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 40.

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 121 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 40.

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 71 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 40.

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 70 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 78 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 32 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=AaFEHzSYSBXvSp8l_KBn&open=AaFEHzSYSBXvSp8l_KBn&pullRequest=142

Check warning on line 89 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=AaFDx6_87-irjB7rjtWb&open=AaFDx6_87-irjB7rjtWb&pullRequest=142

Check warning on line 90 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 40.

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

Check warning on line 89 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