Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ELY-2813] Do not decode URI for processing #2204

Closed
wants to merge 398 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
398 commits
Select commit Hold shift + click to select a range
742881f
Merge pull request #2025 from gabrielpadilh4/ELY-2687
fjuma Oct 25, 2023
d260337
Merge pull request #2027 from xjusko/ELY-2682
fjuma Oct 25, 2023
a46e417
Merge pull request #2030 from gabrielpadilh4/ELY-2700
fjuma Oct 25, 2023
9c78a18
Merge pull request #2031 from gabrielpadilh4/ELY-2650
fjuma Oct 25, 2023
453cc5c
Merge pull request #2032 from gabrielpadilh4/ELY-2660
fjuma Oct 25, 2023
72456cc
Merge pull request #2033 from gabrielpadilh4/ELY-2681
fjuma Oct 25, 2023
2ccb7b9
Merge pull request #2035 from ericrleung/ELY-2679
fjuma Oct 25, 2023
23db84f
Merge pull request #2036 from ericrleung/ELY-2678
fjuma Oct 25, 2023
101eb35
Merge pull request #2038 from ericrleung/ELY-2672
fjuma Oct 25, 2023
9dd18c5
Merge pull request #2040 from gabrielpadilh4/ELY-2666
fjuma Oct 25, 2023
c6dd2f1
[ELY-2670] Upgrade org.jboss.slf4j:slf4j-jboss-logmanager from 1.0.4.…
areebniyas Oct 25, 2023
d0f0625
[ELY-2671] Upgrade org.jboss.threads:jboss-threads from 2.4.0.Final t…
ericrleung Oct 20, 2023
ebfefa1
Merge pull request #2039 from ericrleung/ELY-2671
fjuma Oct 25, 2023
07d8ef6
[ELY-2661] Upgrade jakarta.enterprise:jakarta.enterprise.cdi-api from…
lvydra Oct 26, 2023
b6da951
Merge pull request #2042 from sugan0tech/sugan0tech/ELY-2693
Skyllarr Oct 26, 2023
c2e76af
Merge pull request #2041 from sugan0tech/sugan0tech/ELY-2684
Skyllarr Oct 26, 2023
ea0b336
Merge pull request #2044 from lvydra/ELY-2661
Skyllarr Oct 26, 2023
a7b1beb
[ELY-2697] Update 4 tests in CompatibilityServerTest to call a common…
map-b Oct 18, 2023
483aefa
Merge pull request #2014 from PrarthonaPaul/add_example_repo_readme
Skyllarr Oct 26, 2023
a5a7458
[ELY-2696] Update 3 tests in PrincipalMappingSuiteChild to call a com…
map-b Oct 26, 2023
f2c789f
[ELY-2669] Upgrade org.jboss.modules:jboss-modules from 1.9.2.Final t…
map-b Oct 26, 2023
6057ee8
local_variable_renamed
OluchukwuCatherineObi-Njoku Oct 26, 2023
3815d3b
[ELY-489] Add JavaDoc for the 'org.wildfly.security.mechanism' packag…
petrberan Jan 17, 2023
d408449
ELY-2663 Upgrade org.apache.commons:commons-lang3 from 3.8.1 to 3.13.0
gabrielpadilh4 Oct 27, 2023
044f3bf
[ELY-2667] Upgrade org.jboss.logging:jboss-logging from 3.4.3.Final t…
Iscar-daniel Oct 25, 2023
ff95a55
[ELY-2664] Upgrade org.apache.httpcomponents:httpclient from 4.5.13 t…
Iscar-daniel Oct 27, 2023
fd9ba7d
Merge pull request #2057 from map-b/ELY-2669
fjuma Oct 31, 2023
1cca4e6
Merge pull request #2047 from gabrielpadilh4/ELY-2663
fjuma Oct 31, 2023
ebf74c9
Merge pull request #2045 from gabrielpadilh4/ELY-2673
fjuma Oct 31, 2023
47f4b88
Merge pull request #2049 from Iscar-daniel/ELY-2664
fjuma Oct 31, 2023
c8f40d8
Merge pull request #2051 from Iscar-daniel/ELY-2667
fjuma Oct 31, 2023
2f74e5f
local variable renamed
OluchukwuCatherineObi-Njoku Oct 31, 2023
51d7f11
ELY-2662 Upgrade jakarta.json:jakarta.json-api from 2.0.0 to 2.1.2
gabrielpadilh4 Oct 24, 2023
fa2c42b
[ELY-2665] update org apache.httpcomponents.httpcore from 4.4.15 to 4…
Iscar-daniel Nov 1, 2023
3700a57
Merge branch '2.x' into ELY-2670
areebniyas Nov 1, 2023
d26c0f6
[ELY-2668] Upgrade org.jboss.logmanager:jboss-logmanager from 2.1.18.…
Iscar-daniel Nov 1, 2023
03b879b
[ELY-2631] Add a test to SSLAuthenticationTest that tests the wantCli…
xjusko Oct 10, 2023
89344fc
[ELY-2683] Refactor OAuth2SaslClientV11Test to use common method
ericrleung Oct 20, 2023
cdb23f9
Merge pull request #2034 from ericrleung/ELY-2683
Skyllarr Nov 2, 2023
21c8315
Merge pull request #2026 from map-b/ELY-2697
fjuma Nov 8, 2023
7a6756d
[ELY-2703] Upgrade Apache Commons CLI from 1.5.0 to 1.6.0
ivassile Nov 16, 2023
58b9254
Merge pull request #1933 from ivassile/ELY-2578
Skyllarr Nov 24, 2023
c493d1f
[ELY-2706] Upgrade commons-lang3 from 3.13.0 to 3.14.0
Dec 5, 2023
1a12edc
Merge pull request #2054 from areebniyas/ELY-2670
fjuma Dec 11, 2023
2eb3520
Merge pull request #2052 from Iscar-daniel/ELY-2668
fjuma Dec 11, 2023
80982ff
Merge pull request #1940 from ivassile/ELY-2577_1
fjuma Dec 11, 2023
f3016d2
Merge pull request #1702 from fazer1929/ELY-2166
fjuma Dec 11, 2023
66a522b
[ELY-2329] Utilize the simple implementation of HttpServerCookie
ivassile Dec 10, 2021
e564ae8
[ELY-2581] Update Elytron's SECURITY.md file
ivassile Jul 30, 2023
a01816e
Merge branch '1.x' into 2.x
Skyllarr Dec 12, 2023
97e08b9
Merge branch '1.x' into 2.x
Skyllarr Dec 12, 2023
7f15e20
Merge branch '1.x' into 2.x
Skyllarr Dec 12, 2023
c292252
Merge pull request #1693 from ivassile/ELY-2329
fjuma Dec 12, 2023
d87ea92
[ELY-2349] Clean up ElytronXmlParser code.
ivassile Jun 16, 2022
a257a18
Merge pull request #1717 from ivassile/ELY-2349
fjuma Dec 12, 2023
378e44e
[ELY-2710] Bump org.bitbucket.b_c:jose4j from 0.9.3 to 0.9.4
Dec 19, 2023
12545fa
Merge pull request #1712 from fazer1929/ELY-2167
fjuma Dec 22, 2023
ff892cd
Merge branch '2.2.x' into 2.x
Skyllarr Jan 15, 2024
45d00a4
Merge branch '2.2.x' into 2.x
Skyllarr Jan 15, 2024
05ddaa4
Merge branch '2.2.x' into 2.x
Skyllarr Jan 15, 2024
3989cae
Merge pull request #2078 from PrarthonaPaul/ELY-2710
Skyllarr Jan 24, 2024
db96534
Merge pull request #2075 from PrarthonaPaul/ELY-2706
Skyllarr Jan 24, 2024
0843264
Merge pull request #2069 from ivassile/ELY-2703
Skyllarr Jan 24, 2024
ebb74c3
Merge pull request #2050 from Iscar-daniel/ELY-2665
Skyllarr Jan 24, 2024
89fe7c7
Merge pull request #1938 from ivassile/ELY-2581
Skyllarr Jan 24, 2024
c004e80
[ELY-2714] Attempting to read address data from an OIDC id token caus…
Skyllarr Jan 30, 2024
6043f75
Merge pull request #1926 from lvydra/ELY-1700
Skyllarr Feb 6, 2024
a7651af
[ELY-2639] Add a test for MaskCommand.decryptMasked method
xjusko Jan 5, 2024
68c456d
[ELY-2716] Upgrade Apache SSHD to version 2.12.0
darranl Feb 8, 2024
71c92fb
Merge branch '2.2.x' into 2.x
Skyllarr Feb 9, 2024
cf5b055
[ELY-2717] Ensure that the credential algorithm for the DIGEST mechan…
fjuma Feb 9, 2024
93c6b1d
Merge pull request #2095 from fjuma/ELY-2717
darranl Feb 12, 2024
142882f
Merge pull request #2093 from darranl/ELY-2716
Skyllarr Feb 12, 2024
1198c33
[ELY-2718] Release WildFly Elytron 2.3.0.Final
fjuma Feb 12, 2024
629125a
Next is 2.3.1
fjuma Feb 12, 2024
1638f89
[ELY-2718] Perform API check against 2.3.0.Final
fjuma Feb 12, 2024
d222c28
Merge branch '2.2.x' into 2.x
fjuma Feb 14, 2024
cfb518d
Merge branch '2.2.x' into 2.x
fjuma Feb 14, 2024
84303ed
Merge branch '2.2.x' into 2.x
fjuma Feb 14, 2024
7f1a066
[ELY-2720] Release WildFly Elytron 2.3.1.Final
fjuma Feb 16, 2024
12c2cc1
Next is 2.3.2
fjuma Feb 16, 2024
2bbdcfc
[ELY-2720] Perform API check against 2.3.1.Final
fjuma Feb 16, 2024
462b0a9
[ELY-2715] Change log level for ELY23013 and ELY23012 to DEBUG
daspilker Feb 15, 2024
17322bb
[ELY-2708] Update the CONTRIBUTING.md file with information on Elytro…
fjuma Dec 7, 2023
962457d
[ELY-1815] Unable to set custom AUTHENTICATION_TIMEOUT value
lvydra Feb 27, 2024
3d2f36b
[ELY-2557] Add an afterclass method to do clean-up after the FileSyst…
lvydra Feb 27, 2024
b635114
Merge pull request #1922 from lvydra/ELY-2557
Skyllarr Feb 27, 2024
9a0a4ca
Merge pull request #2061 from xjusko/ELY-2631
Skyllarr Feb 28, 2024
5ecf106
Merge pull request #2092 from xjusko/ELY-2639
Skyllarr Feb 28, 2024
b80aa6a
Merge pull request #1708 from lvydra/ELY-1815
Skyllarr Mar 1, 2024
168eaeb
Merge pull request #2096 from daspilker/ELY-2715
darranl Mar 8, 2024
d0debf7
Merge pull request #2076 from fjuma/ELY-2708
darranl Mar 8, 2024
6907d9c
Merge pull request #2015 from PrarthonaPaul/ELY-2594_ImproveReadability
darranl Mar 8, 2024
3c822eb
[ELY-2730] Upgrade org.bitbucket.b_c:jose4j from 0.9.4 to 0.9.6
darranl Mar 8, 2024
f99b312
Merge pull request #1981 from gerjantd/ELY-2591
darranl Mar 8, 2024
9554198
Merge pull request #2085 from Skyllarr/ELY-2714
fjuma Mar 8, 2024
fdff0ac
Merge pull request #2102 from darranl/ELY-2730
Skyllarr Mar 11, 2024
bd328fa
[ELY-2729] Upgrade Jackson FasterXML to 2.15.4
darranl Mar 8, 2024
0ddd49c
Merge pull request #2101 from darranl/ELY-2729
Skyllarr Mar 12, 2024
e3961af
Merge branch '2.2.x' into 2.x
Skyllarr Mar 14, 2024
116c2cb
Merge branch '2.2.x' into 2.x
Skyllarr Mar 14, 2024
6599297
[ELY-2727] Update CI to also run with JDK 21
fjuma Mar 14, 2024
30d9f72
[ELY-2724] TLS13AuthenticationTest needs to be updated to run with SE 21
Mar 14, 2024
8eba90c
Merge pull request #2104 from PrarthonaPaul/ELY-2724
fjuma Mar 14, 2024
ed9fe0f
[ELY-2728] Upgrade japicmp-maven-plugin to 0.20.0 so we can build wit…
fjuma Mar 14, 2024
1c127e6
[ELY-2689] Update 3 tests in SunUnixMD5Crypt to call a common method …
shreya-pramod Oct 27, 2023
4f5e6d4
[ELY-2319] Delete the deprecated GSSCredentialSecurityFactory impleme…
darranl Mar 18, 2022
1193935
Merge pull request #2106 from fjuma/ELY-2728
Skyllarr Mar 14, 2024
1c16651
Merge pull request #2105 from PrarthonaPaul/ELY-2689
Skyllarr Mar 14, 2024
f860fb2
Merge pull request #2107 from darranl/ELY-2319
Skyllarr Mar 14, 2024
70fde8c
Bump hsqldb from 2.3.1 to 2.7.1 in /tests/base
dependabot[bot] Mar 14, 2024
3dd4b0d
[ELY-2627] Changed array copy logic
Learner045 Sep 26, 2023
a4ff12f
ELY-2662 Upgrade jakarta.json:jakarta.json-api from 2.0.0 to 2.1.2
gabrielpadilh4 Oct 24, 2023
71ccfa0
local variable renamed
OluchukwuCatherineObi-Njoku Oct 31, 2023
0f955d7
[ELY-2379] Fix comment accidentally updated in prior change.
darranl Mar 14, 2024
3b848c2
[ELY-2723] Fix failures in SSLAuthenticationTestCase with SE 21
Skyllarr Mar 14, 2024
36b9fb6
[ELY-2725] Update the modular.jdk.args used by the tests to get Gssap…
fjuma Mar 14, 2024
479fd8c
Merge pull request #2110 from darranl/ELY-2627
fjuma Mar 14, 2024
ad9667c
Merge pull request #1832 from wildfly-security/dependabot/maven/tests…
fjuma Mar 14, 2024
4486de0
ELY-2638 : Simplify test assertions in SSLAuthenticationTest
Sep 22, 2023
e9fc8b0
Merge pull request #2114 from fjuma/ELY-2725
Skyllarr Mar 14, 2024
e8c1072
Merge pull request #2115 from PrarthonaPaul/ELY-2696
fjuma Mar 14, 2024
d530677
Merge pull request #2013 from PrarthonaPaul/ELY-2638
fjuma Mar 14, 2024
184342c
[ELY-2726] Update AlternateSecurityManagerTest to be able to run with…
Mar 14, 2024
2286212
Merge pull request #2112 from darranl/ELY-2379
fjuma Mar 14, 2024
6399be9
[ELY-2721] upgraded to ApacheDS AM27 and Apache Kerby KDC
istudens Feb 29, 2024
448ac16
[ELY-2545] referral-mode="ignore" and filter-base-dn=rootDN cause jav…
hokuda Apr 14, 2023
6fe093c
Merge pull request #2116 from PrarthonaPaul/ELY-2726
darranl Mar 15, 2024
4f0795e
Merge pull request #2100 from istudens/ELY-2721
darranl Mar 15, 2024
bf5bcf0
Merge pull request #2117 from PrarthonaPaul/ELY-2545
Skyllarr Mar 15, 2024
79e8952
[ELY-1996] [Community] SSLContext to support delegation to alternate …
Skyllarr Mar 30, 2020
0a13c93
[ELY-1996] Add new interface indicating active sessions of an SSLContext
Skyllarr Mar 20, 2024
fc56044
[ELY-2574] Add the ability to configure scopes with elytron-oidc-client
Jun 28, 2023
44342cb
Merge pull request #1925 from PrarthonaPaul/WFLY-16532
fjuma Mar 22, 2024
ceaa132
Merge pull request #1382 from Skyllarr/EAP7-1121
fjuma Mar 22, 2024
a914098
[ELY-2740] Release WildFly Elytron 2.4.0.CR1
fjuma Mar 22, 2024
eee9b1e
Next is 2.4.0.CR2
fjuma Mar 22, 2024
2e9d6e3
[ELY 2173] Add test for the CLIENT_CERT mechanism
Sep 19, 2023
76b40c1
Merge pull request #1955 from Dkafetzis/ELY-2173
fjuma Mar 28, 2024
4483acf
Merge remote-tracking branch 'redhat/2.2.x' into 2.x
fjuma Apr 10, 2024
f0a8fe2
[ELY-2742] Release WildFly Elytron 2.4.0.Final
fjuma Apr 10, 2024
12796fc
Next is 2.4.1
fjuma Apr 10, 2024
1f762b4
[ELY-2742] Perform API check against 2.4.0.Final
fjuma Apr 10, 2024
c22a3df
Merge branch '2.2.x' into 2.x
ivassile Apr 15, 2024
613b6ed
Merge branch '1.x' into 2.x
ivassile Apr 16, 2024
0a9a3ff
Merge branch '2.2.x' into 2.x
ivassile Apr 16, 2024
025c357
Merge branch '2.2.x' into 2.x
ivassile Apr 16, 2024
f70634c
[ELY-2705] Update SecurityDomain#createAdHocIdentity so that it also …
fjuma Nov 28, 2023
d0a6d78
Merge pull request #2131 from fjuma/ELY-2705-forward-port
fjuma Apr 19, 2024
356bc44
[ELY-2749] Release WildFly Elytron 2.4.1.Final
fjuma Apr 19, 2024
edb8a3d
Next is 2.4.2
fjuma Apr 19, 2024
e205b93
[ELY-2749] Perform API check against 2.4.1.Final
fjuma Apr 19, 2024
8afd302
Merge branch '2.2.x' into 2.x
ivassile Apr 22, 2024
bab0267
Merge branch '2.2.x' into 2.x
ivassile Apr 22, 2024
6a2e4d1
ELY-2755 Upgrade fasterxml to 2.17.0
Apr 30, 2024
4f2b26d
Merge pull request #2134 from PrarthonaPaul/ELY-2755
fjuma Apr 30, 2024
460cda3
Merge pull request #2113 from Skyllarr/ELY-2723
fjuma May 6, 2024
e4fd826
[ELY-2727] Update CI to also run with JDK 21
May 6, 2024
64fe800
Merge pull request #2142 from PrarthonaPaul/ELY-2727
fjuma May 6, 2024
6522e83
Merge pull request #1860 from petrberan/ELY-489
fjuma May 7, 2024
e7f29bd
[ELY-2756] Add tests to the elytron test suite to test to test OCSP w…
May 9, 2024
ac72762
[ELY-2752] Ensure it's possible to make use of a custom principal-att…
fjuma Apr 24, 2024
23ef82b
[ELY-2741] Enhance TRACE logging for the EXTERNAL HTTP mechanism
ChristinaDsl May 14, 2024
088cdad
Merge pull request #2137 from fjuma/ELY-2752-2.x
fjuma May 16, 2024
7b8abd8
[ELY-2340] Move some test methods to OidcBaseTest
fjuma May 1, 2024
dcbadba
[ELY-2340] Add the ability to allow query params in redirect URIs via…
fjuma May 1, 2024
bd152ef
Merge pull request #2135 from fjuma/ELY-2340-2.x
fjuma May 16, 2024
1dfa97f
[ELY-2758] Release WildFly Elytron 2.4.2.Final
fjuma May 16, 2024
bed8b7a
Next is 2.4.3
fjuma May 16, 2024
0dba5eb
[ELY-2758] Perform API check against 2.4.2.Final
fjuma May 16, 2024
f77ddaa
Merge branch '2.2.x' into 2.x
ivassile May 22, 2024
417b8c8
[ELY-2767] CredentialStoreCommandTest.testGenerateKeyPairDSA fails wh…
lvydra Jun 14, 2024
2d06b4c
[ELY-2771] upgraded maven-javadoc-plugin to current version. Fixed b…
rsearls Jun 21, 2024
3b6c21b
[ELY-2773] First update the CAGenerationTool so we operate on 'Identi…
darranl Jun 24, 2024
45c8426
[ELY-2773] Adjust the CA generation util so resulting identities can …
darranl Jun 24, 2024
b1376dd
[ELY-2773] Update individual tests to use the new APIs to create the …
darranl Jun 24, 2024
8b0c237
[ELY-2584] Add the ability to specify that the OIDC Authentication Re…
Aug 24, 2023
4119a7e
[ELY-2774] Move tests to PKCS#12 KeyStores
darranl Jun 26, 2024
acdef0c
[ELY-2777] Also ignore VSCode files.
darranl Jun 26, 2024
ddc7877
[ELY-2775] Rename the configuration files as they are specific to the…
darranl Jun 26, 2024
a1f68a3
Merge pull request #2161 from darranl/ELY-2773
fjuma Jun 26, 2024
1c6246a
Merge pull request #1984 from PrarthonaPaul/ELY-2584
fjuma Jun 26, 2024
bc08549
[ELY-2779] Release WildFly Elytron 2.5.0.CR1
fjuma Jun 26, 2024
ef03018
Next is 2.5.0.CR2
fjuma Jun 26, 2024
a5cea70
[ELY-2774] Also make it possible to get the KeyStore type and location.
darranl Jun 27, 2024
ac0e211
[ELY-2775] Resolve conflict with prior changes.
darranl Jun 27, 2024
00230a4
Merge pull request #2162 from darranl/ELY-2774
fjuma Jul 4, 2024
91e9b0b
ELY-2776 Add tests to the OIDC testsuite to test for cases where requ…
Jun 26, 2024
5325d83
Merge pull request #2166 from PrarthonaPaul/ELY-2776
fjuma Jul 8, 2024
bce8267
[ELY-2782] Release WildFly Elytron 2.5.0.Final
fjuma Jul 8, 2024
dac1abc
Next is 2.5.1
fjuma Jul 8, 2024
1494b94
[ELY-2775] Resolve conflict with prior changes.
darranl Jul 8, 2024
dd978af
[ELY-2782] Perform API check against 2.5.0.Final
fjuma Jul 8, 2024
0c24b3f
Merge pull request #2164 from darranl/ELY-2775
fjuma Jul 9, 2024
ecce0fe
ELY-2789 OIDCSecurityContext deserialization issue
Jul 22, 2024
b873518
ELY-2790 Upgrade commons-lang3 from 3.15.0
Jul 22, 2024
3444997
Merge pull request #2171 from PrarthonaPaul/ELY-2789
fjuma Jul 31, 2024
4384881
[ELY-2795] Upgrade io.rest-assured from 4.3.3 to 5.5.0
Aug 8, 2024
456d84d
[ELY-2794] Upgrade the keycloak-services and keycloak test dependenci…
Aug 8, 2024
779ee61
[ELY-2796] Release WildFly Elytron 2.5.1.Final
fjuma Aug 13, 2024
9fbcc65
Next is 2.5.2
fjuma Aug 13, 2024
7a8fd8c
[ELY-2796] Perform API check against 2.5.1.Final
fjuma Aug 13, 2024
6dfc9ed
Merge pull request #2143 from PrarthonaPaul/ELY-2756
fjuma Aug 15, 2024
2270981
Fixes to ELY-2756 Add tests to the elytron test suite to test to test…
Aug 19, 2024
1eb5d16
Merge pull request #2181 from PrarthonaPaul/ELY-2756
fjuma Aug 19, 2024
a8886e3
ELY-2778 Replace string literals inside the OidcJsonConfiguration cla…
Jun 27, 2024
882fae7
[ELY-2797] check for null Boolean and return boolean
rsearls Aug 26, 2024
d78b28d
Merge pull request #2187 from rsearls/ELY-2797-NullPointerException-r…
fjuma Aug 28, 2024
5ed42fd
[ELY-2082] Optimise Tool Help Text
petrberan Jun 3, 2022
9399575
[ELY-2799] Release WildFly Elytron 2.5.2.Final
fjuma Aug 29, 2024
3692339
Next is 2.5.3
fjuma Aug 29, 2024
62634b2
[ELY-2799] Perform API check against 2.5.2.Final
fjuma Aug 29, 2024
37a290d
Merge pull request #1713 from petrberan/ELY-2082
darranl Sep 15, 2024
598a994
Merge pull request #1916 from lvydra/ELY-2547
darranl Sep 15, 2024
3eb4e5d
ELY-2662 Upgrade jakarta.json:jakarta.json-api from 2.0.0 to 2.1.2
darranl Sep 15, 2024
6917c62
ELY-2731 Use SecureRandom instead of ThreadLocalRandom
TomasHofman Mar 18, 2024
421a800
[ELY-2780] Logging in aggregaterealm changes authentication and autho…
lvydra Aug 14, 2024
b20afb0
Merge branch '2.x' into ELY-2794
darranl Sep 16, 2024
48386e5
Merge pull request #2172 from PrarthonaPaul/ELY-2790
darranl Sep 16, 2024
e0d522d
Merge pull request #2163 from darranl/ELY-2777
darranl Sep 16, 2024
8580c2f
Merge pull request #2174 from PrarthonaPaul/ELY-2794
darranl Sep 16, 2024
aae54ba
Merge pull request #2176 from lvydra/ELY-2780
darranl Sep 16, 2024
d4fe65f
Merge pull request #2165 from PrarthonaPaul/ELY-2778
darranl Sep 17, 2024
f73a02b
Merge pull request #2157 from lvydra/ELY-2767
darranl Sep 17, 2024
7251485
ELY-2731 Use SecureRandom instead of ThreadLocalRandom
darranl Sep 17, 2024
6364aa5
Merge remote-tracking branch 'upstream/pr/2111' into ELY-2662_II
darranl Sep 17, 2024
4e58f8d
[ELY-2805] Revert "[ELY-2547] Add Elytron Tool option to overwrite CL…
darranl Sep 17, 2024
7e9967d
Merge pull request #2191 from darranl/ELY-2805
darranl Sep 17, 2024
03194bb
ELY-2731 Use SecureRandom instead of ThreadLocalRandom
darranl Sep 17, 2024
2b1d1b2
Merge pull request #2190 from darranl/ELY-2662_II
darranl Sep 17, 2024
9f0388f
Merge pull request #2189 from darranl/ELY-2731
darranl Sep 17, 2024
350e06e
[ELY-2890] Upgrade XNIO to 3.8.16.Final
darranl Sep 18, 2024
0855335
[ELY-2810] Upgrade com.nimbusds:nimbus-jose-jwt to 9.37.3
darranl Sep 18, 2024
0a3ca10
Merge pull request #2195 from darranl/ELY-2809
darranl Sep 18, 2024
5185757
Merge pull request #2196 from darranl/ELY-2810
darranl Sep 18, 2024
564c6a7
Merge pull request #2158 from rsearls/ELY-2771-maven-javadoc-plugin
fjuma Sep 18, 2024
637dd33
[ELY-2738] creating X509Certificate using CAGenerationTool.
rsearls May 28, 2024
5ecc563
[ELY-2770] update javadoc's @link stmt to display fully qualified cla…
rsearls Jun 21, 2024
b3ef480
Merge pull request #2159 from rsearls/ELY-2770-Fix-deprecation-links
fjuma Sep 18, 2024
9d2d19b
[ELY-2741] Enhance TRACE logging for the EXTERNAL HTTP mechanism
darranl Sep 19, 2024
fbd784f
Merge pull request #2147 from rsearls/ELY-2738-DynamicSSLTestUtils
fjuma Sep 19, 2024
aefc98a
[ELY-2704] Missing keystore password does not throw a meaningful exce…
lvydra Aug 13, 2024
3217ffb
Merge pull request #2175 from lvydra/ELY-2704
fjuma Sep 19, 2024
7780f81
Merge pull request #2201 from darranl/ELY-2741
fjuma Sep 19, 2024
fdca5bc
[ELY-2811] Add missing scope to dynamic-ssl pom.xml for wildfly-elytr…
fjuma Sep 19, 2024
97a7a3a
Merge pull request #2203 from fjuma/ELY-2738
fjuma Sep 20, 2024
05eab9e
[ELY-2812] Release WildFly Elytron 2.6.0.Final
fjuma Sep 20, 2024
cbe5152
Next is 2.6.1
fjuma Sep 20, 2024
197587a
[ELY-2812] Perform API check against 2.6.0.Final
fjuma Sep 20, 2024
5bd3f48
[ELY-2813] Do not decode URI for processing
michpetrov Sep 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: ['11', '17', '21']
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: 11
java-version: ${{ matrix.java }}
# ELY-2204 - Temporarily preventing OidcTest from running on macOS since there
# are intermittent issues with starting up the Docker container.
#- if: matrix.os == 'macos-latest'
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ target
nbactions.xml
nb-configuration.xml
catalog.xml
# Ignore VSCode Files
.vscode
#
maven-ant-tasks.jar
test-output
Expand Down
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ To run only a specific test, use:
```bash
mvn clean install -Dtest=TestClassName
```
Note: Some tests will fail if `localhost` is not listed first in `/etc/hosts` file for the loopback addresses (IPv4 and IPv6).

For more information, including details on how WildFly Elytron is integrated in WildFly Core and WildFly, check out our [developer guide](https://wildfly-security.github.io/wildfly-elytron/getting-started-for-developers/).

## Contributing Guidelines
Expand All @@ -95,5 +97,17 @@ When submitting a PR, please keep the following guidelines in mind:

For an example of a properly formatted PR, take a look at https://github.com/wildfly-security/wildfly-elytron/pull/1532

## Code Reviews

All submissions, including submissions by project members, need to be reviewed by at least two WildFly Elytron committers before being merged.

The [GitHub Pull Request Review Process](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/about-pull-request-reviews) is followed for every pull request.

## Maintenance Branches

If you are working on a fix that's required for a maintenance branch (e.g., a fix for the 1.15.x or 2.2.x branches), please submit
your PR directly against the relevant maintenance branch. Once a fix for a maintenance branch is approved and merged, we then
merge the maintenance branch to the upstream branch to ensure changes are kept in sync.

## Community
For more information on how to get involved with WildFly Elytron, check out our [community](https://wildfly-security.github.io/wildfly-elytron/community/) page.
2 changes: 1 addition & 1 deletion ELY_Messages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
24000 - 24999 wildfly-elytron-jose-jwk
25000 - 25999 wildfly-elytron-jose-jws
26000 - 26999 wildfly-elytron-jose-util
27000 - 27999
27000 - 27999 wildfly-elytron-dynamic-ssl
28000 - 28999
29000 - 29999
30000 - 30999
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,25 @@ $ mvn clean install
Issue Tracking
--------------

Bugs and features are tracked within the Elytron Jira project at https://issues.jboss.org/browse/ELY
Bugs and features are tracked within the Elytron Jira project at https://issues.redhat.com/browse/ELY

Contributions
-------------

All new features and enhancements should be submitted to 1.x branch only.
Our [contribution guide](https://github.com/wildfly-security/wildfly-elytron/blob/1.x/CONTRIBUTING.md) will guide you through the steps for getting started on the WildFly Elytron project and will go through how to format and submit your first PR.
All new features and enhancements should be submitted to 2.x branch only.
Our [contribution guide](https://github.com/wildfly-security/wildfly-elytron/blob/2.x/CONTRIBUTING.md) will guide you through the steps for getting started on the WildFly Elytron project and will go through how to format and submit your first PR.

For more details, check out our [getting started guide](https://wildfly-security.github.io/wildfly-elytron/getting-started-for-developers/) for developers.

Example Feature Demos
---------------------

Our [elytron-examples](https://github.com/wildfly-security-incubator/elytron-examples) repository contains example demos of WildFly Elytron features.

Get Help
--------
There are a couple ways to get in touch with us.

Feel free to ask questions on the WildFly user [forum](https://groups.google.com/g/wildfly).

The WildFly Elytron team also has an open chat room where you can listen in and ask questions. Join us on [Zulip chat](https://wildfly.zulipchat.com/#narrow/stream/173102-wildfly-elytron).
The WildFly Elytron team also has an open chat room where you can listen in and ask questions. Join us on [Zulip chat](https://wildfly.zulipchat.com/#narrow/stream/173102-wildfly-elytron).
32 changes: 22 additions & 10 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
# Security Policy

## Security Contacts and Procedures

The WildFly Elytron community takes security very seriously, and we aim to take immediate action to address serious security-related problems that involve our products or services.

Please report any suspected security vulnerability in this project to Red Hat Product Security at [email protected]. You can use our GPG key to communicate with us securely.

To report an issue in any Red Hat branded website or online service, please contact Red Hat Information Security at [email protected].
https://access.redhat.com/security/team/contact
# Reporting of CVEs and Security Issues

## The WildFly Elytron community and our sponsor, Red Hat, take security bugs very seriously

We aim to take immediate action to address serious security-related problems that involve our projects.

Note that we will only fix such issues in the most recent minor release of WildFly Elytron.</p>

## Reporting of Security Issues

When reporting a security vulnerability it is important to not accidentally broadcast to the world that the issue exists, as this makes it easier for people to exploit it. The software industry uses the term <a href="https://www.redhat.com/en/blog/security-embargoes-red-hat">embargo</a> to describe the time a security issue is known internally until it is public knowledge.

Our preferred way of reporting security issues in WildFly Elytron and its related projects is listed below.

### Email the mailing list</h2>

The list at <a href="mailto:[email protected]">[email protected]</a> is the preferred mechanism for outside users to report security issues. A member of the WildFly Elytron team will open the required issues.

### Other considerations</h2>

If you would like to work with us on a fix for the security vulnerability, please include your GitHub username in the above email, and we will provide you access to a temporary private fork where we can collaborate on a fix without it being disclosed publicly, **including in your own publicly visible git repository**.

Do not open a public issue, send a pull request, or disclose any information about the suspected vulnerability publicly, **including in your own publicly visible git repository**. If you discover any publicly disclosed security vulnerabilities, please notify us immediately through <a href="mailto:[email protected]">[email protected]
2 changes: 1 addition & 1 deletion asn1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-parent</artifactId>
<version>2.2.7.CR1-SNAPSHOT</version>
<version>2.6.1.CR1-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion audit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-parent</artifactId>
<version>2.2.7.CR1-SNAPSHOT</version>
<version>2.6.1.CR1-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,22 @@ public class FileAuditEndpoint implements AuditEndpoint {
}

void setFile(final File file) throws IOException {
boolean ok = false;
boolean isFileSet = false;
final FileOutputStream fos = new FileOutputStream(file, true);
try {
final Writer writer = new OutputStreamWriter(new BufferedOutputStream(fos), this.charset);
try {
this.fileDescriptor = fos.getFD();
this.writer = writer;
this.file = file;
ok = true;
isFileSet = true;
} finally {
if (! ok) {
if (! isFileSet) {
safeClose(writer);
}
}
} finally {
if (! ok) {
if (! isFileSet) {
safeClose(fos);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,10 @@ public Builder setSuffix(String suffix) throws IllegalArgumentException {
public AuditEndpoint build() throws IOException {
return new PeriodicRotatingFileAuditEndpoint(this);
}
}

private static <T extends Comparable<? super T>> T min(T a, T b) {
return a.compareTo(b) <= 0 ? a : b;
private static <T extends Comparable<? super T>> T min(T a, T b) {
return a.compareTo(b) <= 0 ? a : b;
}
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,13 @@ public Integer run() {
*/
SyslogAuditEndpoint(Builder builder) throws IOException {
maxReconnectAttempts = builder.maxReconnectAttempts;
protocol = builder.ssl ? Protocol.SSL_TCP : builder.tcp ? Protocol.TCP : Protocol.UDP;
if (builder.ssl) {
protocol = Protocol.SSL_TCP;
} else if (builder.tcp) {
protocol = Protocol.TCP;
} else {
protocol = Protocol.UDP;
}
syslogHandler = new SyslogHandler(checkNotNullParam("serverAddress", builder.serverAddress), builder.port, Facility.SECURITY,
builder.format, protocol, checkNotNullParam("hostName", builder.hostName));

Expand Down
2 changes: 1 addition & 1 deletion auth/base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-parent</artifactId>
<version>2.2.7.CR1-SNAPSHOT</version>
<version>2.6.1.CR1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,13 @@ public CompositePrincipal(Principal... principals) {
}

private CompositePrincipal(Principal[] principals, boolean clone) {
p = principals.length == 0 ? NO_PRINCIPALS : clone ? principals.clone() : principals;
if (principals.length == 0) {
p = NO_PRINCIPALS;
} else if (clone) {
p = principals.clone();
} else {
p = principals;
}
for (int i = 0; i < p.length; i++) {
Assert.checkNotNullArrayParam("principals", i, p[i]);
}
Expand Down
7 changes: 5 additions & 2 deletions auth/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<parent>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-parent</artifactId>
<version>2.2.7.CR1-SNAPSHOT</version>
<version>2.6.1.CR1-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -60,6 +60,10 @@
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-mechanism</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-mechanism-gssapi</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-password-impl</artifactId>
Expand All @@ -76,7 +80,6 @@
<groupId>org.wildfly.security</groupId>
<artifactId>wildfly-elytron-ssh-util</artifactId>
</dependency>

<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-annotations</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2024 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.wildfly.security.auth.client;

/**
* An interface indicating active sessions of an SSLContext
*/
public interface ActiveSessionsSSLContext {
/**
* Indicates if the SSLContext has active sessions.
*
* @return true if SSLContext has active sessions. Otherwise, false
*/
default boolean hasActiveSessions() {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,10 @@ public <T, E extends Exception> T runAsSupplierEx(ExceptionSupplier<T, E> action
return runExFunction(ExceptionSupplier::get, action);
}

RuleNode<SecurityFactory<SSLContext>> getSslRules() {
return this.sslRules;
}

public ContextManager<AuthenticationContext> getInstanceContextManager() {
return getContextManager();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
import java.security.Principal;
import java.security.PrivilegedAction;
import java.security.Provider;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.function.Supplier;
import java.util.function.UnaryOperator;

Expand Down Expand Up @@ -196,6 +198,42 @@ private static AuthenticationConfiguration initializeConfiguration(final URI uri
return configuration;
}

/**
* Get all SSL contexts configured for this authentication context.
*
* @param authenticationContext the authentication context to examine (must not be {@code null})
* @return List of all configured SSL contexts belonging to the provided authentication context
*/
public List<SSLContext> getConfiguredSSLContexts(AuthenticationContext authenticationContext) throws GeneralSecurityException {
Assert.checkNotNullParam("authenticationContext", authenticationContext);
List<SSLContext> sslContexts = new ArrayList<>();
RuleNode<SecurityFactory<SSLContext>> node = authenticationContext.getSslRules();
while (node != null) {
sslContexts.add(node.getConfiguration().create());
node = node.getNext();
}
return sslContexts;
}

/**
* Get the default SSL context that should be used when no other rules match, or {@link SSLContext#getDefault()} if there is none configured.
*
* @param authenticationContext the authentication context to examine (must not be {@code null})
* @return the default SSL context configured if no other rules match
*/
public SSLContext getDefaultSSLContext(AuthenticationContext authenticationContext) throws GeneralSecurityException {
Assert.checkNotNullParam("authenticationContext", authenticationContext);
SSLContext defaultSSLContext = null;
RuleNode<SecurityFactory<SSLContext>> node = authenticationContext.getSslRules();
while (node != null) {
if (node.getRule().equals(MatchRule.ALL)) {
defaultSSLContext = node.getConfiguration().create();
}
node = node.getNext();
}
return defaultSSLContext == null ? SSLContext.getDefault() : defaultSSLContext;
}

/**
* Get the configured SSL context which matches ALL rules from provided AuthenticationContext, or {@link SSLContext#getDefault()} if there is none.
*
Expand Down
Loading