Commit 9164fac
committed
RAMPART-454 Document security / maintenance assumptions flagged by review
Add in-place comments at the three locations the Gemini review flagged
as HIGH/MEDIUM risk so the assumptions are enforced the next time
someone touches these files, without changing behaviour:
- modules/distribution/bin.xml: prepend a MAINTENANCE NOTE describing
why the <excludes> list on the lib/ dependencySet exists (the dist
must not duplicate jars already shipped in the Axis2 distribution)
and what must be re-checked whenever ${axis2.version} or any
transitive dep moves -- otherwise we re-introduce the httpcore5
5.2.5 vs 5.4.2 style silent breakage.
- pom.xml: prepend a SECURITY NOTE to the <properties> block listing
the checklist reviewers must follow when bumping wss4j / opensaml /
xmlsec / bouncycastle: read every intermediate CVE release note
(not just the newest), make sure no weak algorithm or key size gets
re-introduced as a default, and re-run the policy samples.
- RampartUtil.validateTransport: expand the inline comment at the
jakarta.servlet.request.X509Certificate lookup site to name the
Servlet-spec contract we're relying on and explicitly state that
re-validation of the chain is the transport listener's job, not
ours. The Javadoc on the method already documented the attribute
name; this makes the responsibility split visible at the call site.1 parent 2f9f8a5 commit 9164fac
3 files changed
Lines changed: 55 additions & 0 deletions
File tree
- modules
- distribution
- rampart-core/src/main/java/org/apache/rampart/util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
1 | 25 | | |
2 | 26 | | |
3 | 27 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1943 | 1943 | | |
1944 | 1944 | | |
1945 | 1945 | | |
| 1946 | + | |
| 1947 | + | |
| 1948 | + | |
| 1949 | + | |
| 1950 | + | |
| 1951 | + | |
| 1952 | + | |
| 1953 | + | |
1946 | 1954 | | |
1947 | 1955 | | |
1948 | 1956 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
820 | 820 | | |
821 | 821 | | |
822 | 822 | | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
823 | 846 | | |
824 | 847 | | |
825 | 848 | | |
| |||
0 commit comments