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

Add Push device progressive enrollment auth script #6401

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
213 commits
Select commit Hold shift + click to select a range
23f3b91
Handle HTTP HEAD requests by setting response status to 200 OK
KD23243 Jan 27, 2025
2542b9a
Add Push device progressive enrollment auth script
ZiyamSanthosh Jan 28, 2025
8efdcaf
Add unit tests
KD23243 Jan 27, 2025
cf3f11a
Change ReferenceCardinality to MANDATORY for the UserDefinedAuthentic…
Thisara-Welmilla Jan 29, 2025
e7e0fe1
Hanlde NPE when rule metadata service is null
sadilchamishka Jan 29, 2025
e69e1fc
Remove the commitTransaction issue.
Thisara-Welmilla Jan 29, 2025
cf583b7
Merge pull request #6404 from sadilchamishka/fix-npe-when-server-stop
malithie Jan 29, 2025
06ab418
[WSO2 Release] [Jenkins #8388] [Release 7.7.167] prepare release v7.7…
wso2-jenkins-bot Jan 29, 2025
6f75244
[WSO2 Release] [Jenkins #8388] [Release 7.7.167] prepare for next dev…
wso2-jenkins-bot Jan 29, 2025
55642a7
Use caching in the hybrid SAML storage implementation
Osara-B Jan 29, 2025
e7c1778
Merge pull request #6405 from Thisara-Welmilla/fix-mysql-error
malithie Jan 29, 2025
079fa89
Merge pull request #6403 from Thisara-Welmilla/make-adpater-service-m…
malithie Jan 29, 2025
a0fc581
[WSO2 Release] [Jenkins #8390] [Release 7.7.168] prepare release v7.7…
wso2-jenkins-bot Jan 29, 2025
1cf0729
[WSO2 Release] [Jenkins #8390] [Release 7.7.168] prepare for next dev…
wso2-jenkins-bot Jan 29, 2025
a1375a3
Merge commit '1cf07297ffb7d98f4f94fc8f1435a3bcee36c08d' into 963952a0…
wso2-jenkins-bot Jan 29, 2025
0a19b52
[WSO2 Release] [Jenkins #8391] [Release 7.7.169] prepare release v7.7…
wso2-jenkins-bot Jan 29, 2025
ddf8230
[WSO2 Release] [Jenkins #8391] [Release 7.7.169] prepare for next dev…
wso2-jenkins-bot Jan 29, 2025
787b2d1
Fix oracle db query issue.
Thisara-Welmilla Jan 29, 2025
8760e03
Merge pull request #6407 from Osara-B/refactor-saml3
darshanasbg Jan 29, 2025
62bc3b3
[WSO2 Release] [Jenkins #8393] [Release 7.7.170] prepare release v7.7…
wso2-jenkins-bot Jan 29, 2025
1550f40
[WSO2 Release] [Jenkins #8393] [Release 7.7.170] prepare for next dev…
wso2-jenkins-bot Jan 29, 2025
f8141f8
Merge pull request #6408 from Thisara-Welmilla/fix-oracle-error
Thisara-Welmilla Jan 30, 2025
15cbb91
[WSO2 Release] [Jenkins #8395] [Release 7.7.171] prepare release v7.7…
wso2-jenkins-bot Jan 30, 2025
a162d08
[WSO2 Release] [Jenkins #8395] [Release 7.7.171] prepare for next dev…
wso2-jenkins-bot Jan 30, 2025
5b89591
move phoneNumber attributes from core schema to user schema
amanda-ariyaratne Jan 29, 2025
3443571
Merge pull request #6406 from amanda-ariyaratne/issue-22562
amanda-ariyaratne Jan 30, 2025
001e654
[WSO2 Release] [Jenkins #8397] [Release 7.7.172] prepare release v7.7…
wso2-jenkins-bot Jan 30, 2025
c0961ec
[WSO2 Release] [Jenkins #8397] [Release 7.7.172] prepare for next dev…
wso2-jenkins-bot Jan 30, 2025
a7a602b
Add audit logs for rules in actions
osandamaleesha Jan 30, 2025
e85fc71
Merge pull request #6390 from KD23243/headRequest
RushanNanayakkara Jan 31, 2025
9257399
Address comments
osandamaleesha Jan 31, 2025
a9d5036
[WSO2 Release] [Jenkins #8399] [Release 7.7.173] prepare release v7.7…
wso2-jenkins-bot Jan 31, 2025
5906e80
[WSO2 Release] [Jenkins #8399] [Release 7.7.173] prepare for next dev…
wso2-jenkins-bot Jan 31, 2025
1e73c4e
Merge pull request #6409 from osandamaleesha/audit-logs
malithie Jan 31, 2025
1be3828
[WSO2 Release] [Jenkins #8400] [Release 7.7.174] prepare release v7.7…
wso2-jenkins-bot Jan 31, 2025
cc8a4cc
[WSO2 Release] [Jenkins #8400] [Release 7.7.174] prepare for next dev…
wso2-jenkins-bot Jan 31, 2025
85713bf
Add default requested scopes
AnjanaSamindraPerera Jan 31, 2025
9b4cfd9
Remove xacml scope validator config.
mpmadhavig Jan 31, 2025
40b8ee5
fix: update trigger definition for IDN_RULE table
Sadeesha-Sath Jan 31, 2025
bc8ad5b
Merge pull request #6412 from Sadeesha-Sath/update-db2-scripts
ashanthamara Jan 31, 2025
f31189a
[WSO2 Release] [Jenkins #8402] [Release 7.7.175] prepare release v7.7…
wso2-jenkins-bot Jan 31, 2025
8ea9b95
[WSO2 Release] [Jenkins #8402] [Release 7.7.175] prepare for next dev…
wso2-jenkins-bot Jan 31, 2025
ea256b9
Introduce new scope version for api resource collection (#6372)
shashimalcse Jan 31, 2025
9a874b5
[WSO2 Release] [Jenkins #8403] [Release 7.7.176] prepare release v7.7…
wso2-jenkins-bot Jan 31, 2025
4a6c520
[WSO2 Release] [Jenkins #8403] [Release 7.7.176] prepare for next dev…
wso2-jenkins-bot Jan 31, 2025
97459e7
Merge pull request #6411 from mpmadhavig/xacml-removal
JeethJJ Jan 31, 2025
695060c
[WSO2 Release] [Jenkins #8405] [Release 7.7.177] prepare release v7.7…
wso2-jenkins-bot Jan 31, 2025
b78d6ad
[WSO2 Release] [Jenkins #8405] [Release 7.7.177] prepare for next dev…
wso2-jenkins-bot Jan 31, 2025
747d493
Improve local claim retrieval using a HashMap
sumedhe Jan 31, 2025
e005d42
Merge pull request #6414 from sumedhe/fix-performance-issue
sumedhe Feb 1, 2025
3bdc6b2
[WSO2 Release] [Jenkins #8407] [Release 7.7.178] prepare release v7.7…
wso2-jenkins-bot Feb 1, 2025
5938f4d
[WSO2 Release] [Jenkins #8407] [Release 7.7.178] prepare for next dev…
wso2-jenkins-bot Feb 1, 2025
0814e54
Fix get db queries for custom defined authenticators.
Thisara-Welmilla Feb 2, 2025
4161d3a
Support ruleMeta api for preUpdatePassword flow
ashanthamara Feb 2, 2025
391e250
Support rule management and rule execution for pre update password ac…
ashanthamara Feb 2, 2025
ffb4a69
Improve condition
ashanthamara Feb 2, 2025
7afeee6
Improve unit tests
ashanthamara Feb 2, 2025
6c2585b
Add unit tests for PreUpdatePasswordActionRuleEvaluationDataProvider
ashanthamara Feb 2, 2025
e1611e9
Minor refactoring
ashanthamara Feb 2, 2025
867a9a8
Minor formatting
ashanthamara Feb 3, 2025
daac9bf
Merge pull request #6417 from ashanthamara/password-rule-meta
ashanthamara Feb 3, 2025
5692cc9
[WSO2 Release] [Jenkins #8409] [Release 7.7.179] prepare release v7.7…
wso2-jenkins-bot Feb 3, 2025
4dd380a
[WSO2 Release] [Jenkins #8409] [Release 7.7.179] prepare for next dev…
wso2-jenkins-bot Feb 3, 2025
7ec2854
Merge pull request #6418 from ashanthamara/password-rule-execution
ashanthamara Feb 3, 2025
8cfc18f
Merge commit '4dd380a5e99ea4a26022a37358fe16364e165455' into 294edef4…
wso2-jenkins-bot Feb 3, 2025
1500a47
Merge pull request #6410 from AnjanaSamindraPerera/fix-apim-issue
AnjanaSamindraPerera Feb 3, 2025
2ee103f
[WSO2 Release] [Jenkins #8411] [Release 7.7.180] prepare release v7.7…
wso2-jenkins-bot Feb 3, 2025
47163a8
[WSO2 Release] [Jenkins #8411] [Release 7.7.180] prepare for next dev…
wso2-jenkins-bot Feb 3, 2025
4036ef9
Address comments
Thisara-Welmilla Feb 3, 2025
6f8e028
Fix authentication flow with custom authentication extension.
Thisara-Welmilla Feb 2, 2025
567f681
Fix formatting issue.
Thisara-Welmilla Feb 3, 2025
43d5b29
Merge pull request #6415 from Thisara-Welmilla/fix-db-queries
Thisara-Welmilla Feb 3, 2025
113819a
[WSO2 Release] [Jenkins #8413] [Release 7.7.181] prepare release v7.7…
wso2-jenkins-bot Feb 3, 2025
8590bcb
[WSO2 Release] [Jenkins #8413] [Release 7.7.181] prepare for next dev…
wso2-jenkins-bot Feb 3, 2025
1b5cbb0
Change Pre Update Password Action Response Attribute - initiator to i…
harithmaduranga Feb 3, 2025
fde93c1
Merge branch 'wso2:master' into harith02
harithmaduranga Feb 3, 2025
5a6fded
Merge pull request #6422 from harithmaduranga/harith02
ashanthamara Feb 3, 2025
b0b455b
[WSO2 Release] [Jenkins #8415] [Release 7.7.182] prepare release v7.7…
wso2-jenkins-bot Feb 3, 2025
43859ec
[WSO2 Release] [Jenkins #8415] [Release 7.7.182] prepare for next dev…
wso2-jenkins-bot Feb 3, 2025
cc93d84
Resolve endpoint updating issue in fed authenticator
ashanthamara Feb 3, 2025
6792c13
Add view scopes and access control for scope management API in organi…
ShanChathusanda93 Feb 3, 2025
d604034
Merge pull request #6416 from Thisara-Welmilla/fix-frameworkFlow
Thisara-Welmilla Feb 4, 2025
2a39675
[WSO2 Release] [Jenkins #8417] [Release 7.7.183] prepare release v7.7…
wso2-jenkins-bot Feb 4, 2025
b71a484
[WSO2 Release] [Jenkins #8417] [Release 7.7.183] prepare for next dev…
wso2-jenkins-bot Feb 4, 2025
687cec0
Merge remote-tracking branch 'upstream/master' into authenticator-bug…
ashanthamara Feb 4, 2025
5960daf
Merge pull request #6423 from ShanChathusanda93/org-scope-api-scope-b…
ShanChathusanda93 Feb 4, 2025
2fcf518
[WSO2 Release] [Jenkins #8419] [Release 7.7.184] prepare release v7.7…
wso2-jenkins-bot Feb 4, 2025
f0c4e2c
[WSO2 Release] [Jenkins #8419] [Release 7.7.184] prepare for next dev…
wso2-jenkins-bot Feb 4, 2025
04e2a5b
Add new method to Authentication.Type enum to resolve enum from a string
ashanthamara Feb 4, 2025
9fd47c7
Replace Authentication.Type.valueOf with Authentication.Type.valueOfName
ashanthamara Feb 4, 2025
58d0b1b
Merge pull request #6424 from ashanthamara/authenticator-bug-fix
ashanthamara Feb 4, 2025
b86d7e2
[WSO2 Release] [Jenkins #8421] [Release 7.7.185] prepare release v7.7…
wso2-jenkins-bot Feb 4, 2025
935cd5f
[WSO2 Release] [Jenkins #8421] [Release 7.7.185] prepare for next dev…
wso2-jenkins-bot Feb 4, 2025
a864ee1
Change IdentityUserIdResolverListener order
ashanthamara Feb 4, 2025
1413c28
Merge pull request #6425 from ashanthamara/password-action-listener-c…
ashanthamara Feb 4, 2025
22d268e
[WSO2 Release] [Jenkins #8423] [Release 7.7.186] prepare release v7.7…
wso2-jenkins-bot Feb 4, 2025
d79a2b8
[WSO2 Release] [Jenkins #8423] [Release 7.7.186] prepare for next dev…
wso2-jenkins-bot Feb 4, 2025
0c61157
add cache layer for unified claim matadata manager
amanda-ariyaratne Feb 4, 2025
7a38a36
deprecate cache layer at the DAO level
amanda-ariyaratne Feb 4, 2025
ddfd317
add indexes for SP_CLAIM_MAPPING
Thumimku Feb 5, 2025
33afd4d
Update db2, oracle, oracle-rac SAML index
Osara-B Feb 5, 2025
abda962
Merge pull request #6428 from Osara-B/refactor-saml3
UdeshAthukorala Feb 5, 2025
80662c2
Remove transient for UserDefinedAuthenticatorEndpointConfig.
Thisara-Welmilla Feb 5, 2025
1a662b9
[WSO2 Release] [Jenkins #8425] [Release 7.7.187] prepare release v7.7…
wso2-jenkins-bot Feb 5, 2025
ec16c57
[WSO2 Release] [Jenkins #8425] [Release 7.7.187] prepare for next dev…
wso2-jenkins-bot Feb 5, 2025
74d2730
Merge pull request #6427 from Thumimku/index-IDX_SPCM_APP
Thumimku Feb 5, 2025
ce98e5e
[WSO2 Release] [Jenkins #8427] [Release 7.7.188] prepare release v7.7…
wso2-jenkins-bot Feb 5, 2025
57fb82d
[WSO2 Release] [Jenkins #8427] [Release 7.7.188] prepare for next dev…
wso2-jenkins-bot Feb 5, 2025
7c42fd0
imporve update role name error msg
Thumimku Feb 5, 2025
f244c74
Merge pull request #6429 from Thisara-Welmilla/remove-transient-for-U…
Thisara-Welmilla Feb 5, 2025
b8fb01c
Improve local claim retrieval logic
sumedhe Feb 5, 2025
9916126
[WSO2 Release] [Jenkins #8429] [Release 7.7.189] prepare release v7.7…
wso2-jenkins-bot Feb 5, 2025
24aba6e
[WSO2 Release] [Jenkins #8429] [Release 7.7.189] prepare for next dev…
wso2-jenkins-bot Feb 5, 2025
b1f8c1b
Cleanup legacyTenants & debugTenants configs
darshanasbg Feb 5, 2025
a2a3026
Merge pull request #6432 from darshanasbg/cleanup-configs
UdeshAthukorala Feb 5, 2025
151b292
[WSO2 Release] [Jenkins #8431] [Release 7.7.190] prepare release v7.7…
wso2-jenkins-bot Feb 5, 2025
174a8a6
[WSO2 Release] [Jenkins #8431] [Release 7.7.190] prepare for next dev…
wso2-jenkins-bot Feb 5, 2025
7443083
Merge pull request #6430 from Thumimku/PatchUpdateRoleName
Thumimku Feb 6, 2025
ce3850b
[WSO2 Release] [Jenkins #8433] [Release 7.7.191] prepare release v7.7…
wso2-jenkins-bot Feb 6, 2025
006d255
[WSO2 Release] [Jenkins #8433] [Release 7.7.191] prepare for next dev…
wso2-jenkins-bot Feb 6, 2025
a64e892
Merge pull request #6431 from sumedhe/improve-performance
sumedhe Feb 6, 2025
4e0c6d4
[WSO2 Release] [Jenkins #8435] [Release 7.7.192] prepare release v7.7…
wso2-jenkins-bot Feb 6, 2025
8077f00
[WSO2 Release] [Jenkins #8435] [Release 7.7.192] prepare for next dev…
wso2-jenkins-bot Feb 6, 2025
4f83faf
Set system property jdk.util.zip.disableZip64ExtraFieldValidation to …
sandushi Feb 6, 2025
e2b6ec1
Merge pull request #6435 from sandushi/update-pr-builder
sandushi Feb 6, 2025
d2e7714
[WSO2 Release] [Jenkins #8437] [Release 7.7.193] prepare release v7.7…
wso2-jenkins-bot Feb 6, 2025
e93ec91
[WSO2 Release] [Jenkins #8437] [Release 7.7.193] prepare for next dev…
wso2-jenkins-bot Feb 6, 2025
c6247bc
Remove the common-compress jar forcefully
sandushi Feb 6, 2025
13b0158
Add the version
sandushi Feb 6, 2025
a712171
improve debug logs
amanda-ariyaratne Feb 6, 2025
35ffdaa
remove deprecated annotation
amanda-ariyaratne Feb 6, 2025
3e7fe53
Merge pull request #6437 from sandushi/pr-builder-update
sandushi Feb 6, 2025
18873a9
Merge pull request #6426 from amanda-ariyaratne/master
amanda-ariyaratne Feb 6, 2025
b005349
[WSO2 Release] [Jenkins #8439] [Release 7.7.194] prepare release v7.7…
wso2-jenkins-bot Feb 6, 2025
d884964
[WSO2 Release] [Jenkins #8439] [Release 7.7.194] prepare for next dev…
wso2-jenkins-bot Feb 6, 2025
335e675
Remove line breaks from oracle scripts
VimukthiRajapaksha Feb 6, 2025
d422d95
Merge commit 'd88496427bfca5d294e15212233c2672f13d0d13' into 67e99138…
wso2-jenkins-bot Feb 6, 2025
b148ae5
Update Risk-Based template summary
janakamarasena Feb 6, 2025
5fcc8ce
[WSO2 Release] [Jenkins #8440] [Release 7.7.195] prepare release v7.7…
wso2-jenkins-bot Feb 6, 2025
4b00d37
[WSO2 Release] [Jenkins #8440] [Release 7.7.195] prepare for next dev…
wso2-jenkins-bot Feb 6, 2025
f6d1aa7
Add filtering support when filter value is OR, AND or NOT
AfraHussaindeen Feb 6, 2025
7519d03
fix: update custom authenticator creation sql scripts
Sadeesha-Sath Feb 6, 2025
aa38829
Remove config to disable AI features by default
NipuniBhagya Feb 6, 2025
1981765
Merge pull request #6439 from VimukthiRajapaksha/master_patch
DMHP Feb 6, 2025
5e81c19
[WSO2 Release] [Jenkins #8442] [Release 7.7.196] prepare release v7.7…
wso2-jenkins-bot Feb 6, 2025
240a23b
[WSO2 Release] [Jenkins #8442] [Release 7.7.196] prepare for next dev…
wso2-jenkins-bot Feb 6, 2025
7c32cc7
Merge pull request #6441 from janakamarasena/710-fixes
janakamarasena Feb 6, 2025
401e203
Add unit tests
AfraHussaindeen Feb 6, 2025
64bdd60
[WSO2 Release] [Jenkins #8444] [Release 7.7.197] prepare release v7.7…
wso2-jenkins-bot Feb 6, 2025
e4ebb1d
[WSO2 Release] [Jenkins #8444] [Release 7.7.197] prepare for next dev…
wso2-jenkins-bot Feb 6, 2025
56eb88e
Improve auth context cloning.
Thisara-Welmilla Feb 6, 2025
86b9678
add api resource scopes for certificate validation api
Sachin-Mamoru Feb 7, 2025
c121c1f
revert format
Sachin-Mamoru Feb 7, 2025
f5ee93c
added resources to system api resources
Sachin-Mamoru Feb 7, 2025
a0cc9a4
Merge pull request #6442 from Sadeesha-Sath/update-custom-authenticat…
malithie Feb 7, 2025
ced66b0
Add routing for push auth related subOrg open endpoints
ZiyamSanthosh Feb 7, 2025
4b33bdc
updated the xml files
Sachin-Mamoru Feb 7, 2025
bc777b3
Merge pull request #6444 from NipuniBhagya/master
NipuniBhagya Feb 7, 2025
6aba75a
[WSO2 Release] [Jenkins #8446] [Release 7.7.198] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
2fd5122
[WSO2 Release] [Jenkins #8446] [Release 7.7.198] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
5da5845
Merge commit '2fd5122ffa98d3a5234c200f16b9f52dbe9b8add' into 4261ffc1…
wso2-jenkins-bot Feb 7, 2025
11b9c65
Remove the usages of deprecated addKeyStore method in KeyStore Manager
UdeshAthukorala Feb 7, 2025
3b587d1
[WSO2 Release] [Jenkins #8447] [Release 7.7.199] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
0d56754
[WSO2 Release] [Jenkins #8447] [Release 7.7.199] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
f5d1c87
Update scopes for attribute dialects
PasinduYeshan Feb 7, 2025
0015802
Merge pull request #6447 from UdeshAthukorala/remove-deprecated
UdeshAthukorala Feb 7, 2025
dcefbdd
[WSO2 Release] [Jenkins #8449] [Release 7.7.200] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
5e015d3
[WSO2 Release] [Jenkins #8449] [Release 7.7.200] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
3ef3b1a
Exclude adding the spid to external calls
janakamarasena Feb 7, 2025
555a69b
Add pushAuth servlet path to TenantContextRewrite
ZiyamSanthosh Feb 7, 2025
b74ea16
Remove white spaces in claim list for multi-attribute login
pamodaaw Feb 7, 2025
90a5063
Add test class to testng.xml
AfraHussaindeen Feb 7, 2025
8f9bc0b
Merge pull request #6448 from Sachin-Mamoru/x509-api
Sachin-Mamoru Feb 7, 2025
8303c3a
[WSO2 Release] [Jenkins #8451] [Release 7.7.201] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
1375e49
[WSO2 Release] [Jenkins #8451] [Release 7.7.201] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
33bbc04
Add new AuthenticatorDataRetrievalClient
ashanthamara Feb 7, 2025
e284eb8
remove the default alias value
DilshanSenarath Feb 7, 2025
b18b031
Address comments
ashanthamara Feb 7, 2025
dfff2b5
Merge pull request #6453 from ashanthamara/authenticator-client
ashanthamara Feb 7, 2025
37e2497
[WSO2 Release] [Jenkins #8453] [Release 7.7.202] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
706d27b
[WSO2 Release] [Jenkins #8453] [Release 7.7.202] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
b09d828
Merge pull request #6451 from janakamarasena/710-fixes
janakamarasena Feb 7, 2025
fed462e
Add configurations to select certificate validation configuration dat…
Sachin-Mamoru Feb 7, 2025
f4aac1f
add default configs for myaccount.applications.console_app
amanda-ariyaratne Feb 7, 2025
42082a0
[WSO2 Release] [Jenkins #8455] [Release 7.7.203] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
be544ba
[WSO2 Release] [Jenkins #8455] [Release 7.7.203] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
0ba5e05
Merge pull request #6450 from PasinduYeshan/fix/attribute-verificatio…
PasinduYeshan Feb 7, 2025
d5370bc
[WSO2 Release] [Jenkins #8457] [Release 7.7.204] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
8ea543a
[WSO2 Release] [Jenkins #8457] [Release 7.7.204] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
6179c87
Merge pull request #6449 from ZiyamSanthosh/master-add-routing-subOrg…
ZiyamSanthosh Feb 7, 2025
ee5b853
Merge commit '8ea543a3ac23ef2ce99de2ba205a2da81e3b2953' into d1e9162d…
wso2-jenkins-bot Feb 7, 2025
9a61927
Merge pull request #6452 from pamodaaw/master
pamodaaw Feb 7, 2025
086b0cd
Merge pull request #6455 from Sachin-Mamoru/cert-valid-config
Sachin-Mamoru Feb 7, 2025
ad06960
Merge pull request #6440 from AfraHussaindeen/master_filering-fix
sadilchamishka Feb 7, 2025
34478f5
Remove invalid doc links from auth templates
pamodaaw Feb 7, 2025
4bdc434
[WSO2 Release] [Jenkins #8459] [Release 7.7.205] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
e50f45b
[WSO2 Release] [Jenkins #8459] [Release 7.7.205] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
65a7f0e
Merge pull request #6454 from DilshanSenarath/issue-22425
DilshanSenarath Feb 7, 2025
4346181
Remove transient for UserDefinedAuthenticatorEndpointConfig.
Thisara-Welmilla Feb 7, 2025
b6fafb0
[WSO2 Release] [Jenkins #8460] [Release 7.7.206] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
357b7f4
[WSO2 Release] [Jenkins #8460] [Release 7.7.206] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
a73a939
Merge pull request #6456 from amanda-ariyaratne/issue-22812
amanda-ariyaratne Feb 7, 2025
51a3fbe
[WSO2 Release] [Jenkins #8462] [Release 7.7.207] prepare release v7.7…
wso2-jenkins-bot Feb 7, 2025
af716bc
[WSO2 Release] [Jenkins #8462] [Release 7.7.207] prepare for next dev…
wso2-jenkins-bot Feb 7, 2025
44b6ebe
Merge pull request #6457 from pamodaaw/master
pamodaaw Feb 8, 2025
cc78c73
[WSO2 Release] [Jenkins #8464] [Release 7.7.208] prepare release v7.7…
wso2-jenkins-bot Feb 8, 2025
b4f3c9a
[WSO2 Release] [Jenkins #8464] [Release 7.7.208] prepare for next dev…
wso2-jenkins-bot Feb 8, 2025
4c30378
Merge pull request #6446 from Thisara-Welmilla/imrpove-auth-context-c…
Thisara-Welmilla Feb 8, 2025
6d536ae
[WSO2 Release] [Jenkins #8466] [Release 7.7.209] prepare release v7.7…
wso2-jenkins-bot Feb 8, 2025
b4e8eae
[WSO2 Release] [Jenkins #8466] [Release 7.7.209] prepare for next dev…
wso2-jenkins-bot Feb 8, 2025
8241965
Add Push device progressive enrollment auth script
ZiyamSanthosh Jan 28, 2025
42cc6d7
Update the push device enrollment authn template
ZiyamSanthosh Feb 8, 2025
46e454f
Merge remote-tracking branch 'origin/master-add-auth-template-push' i…
ZiyamSanthosh Feb 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
${{ runner.os }}-maven-${{ env.cache-name }}-
${{ runner.os }}-maven-
${{ runner.os }}-
- name: Clear Maven Cache for commons-compress
run: rm -rf ~/.m2/repository/org/wso2/orbit/org/apache/commons/commons-compress/1.26.1.wso2v1
- name: Build with Maven
run: mvn clean install -U -B
- name: Generate coverage report
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>action-mgt</artifactId>
<version>7.7.167-SNAPSHOT</version>
<version>7.7.210-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>action-mgt</artifactId>
<version>7.7.167-SNAPSHOT</version>
<version>7.7.210-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -133,6 +133,7 @@
org.wso2.carbon.identity.rule.management.exception; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.rule.management.model; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.rule.management.service; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.rule.management.util; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.central.log.mgt.utils;
version="${carbon.identity.package.import.version.range}",
org.wso2.carbon; version="${carbon.kernel.package.import.version.range}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ private EndpointConfig populateEndpoint(Map<String, String> propertiesFromDB) th

Authentication authentication;
Authentication.Type authnType =
Authentication.Type.valueOf(propertiesFromDB.remove(ActionMgtConstants.AUTHN_TYPE_PROPERTY));
Authentication.Type.valueOfName(propertiesFromDB.remove(ActionMgtConstants.AUTHN_TYPE_PROPERTY));
switch (authnType) {
case BASIC:
authentication = new Authentication.BasicAuthBuilder(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ public String getName() {

return name;
}

public static Type valueOfName(String name) {

if (name == null || name.isEmpty()) {
throw new IllegalArgumentException("Authentication type cannot be null or empty.");
}

for (Type type : Type.values()) {
if (type.name.equalsIgnoreCase(name)) {
return type;
}
}
throw new IllegalArgumentException("Invalid authentication type: " + name);
}
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@
import org.json.JSONObject;
import org.wso2.carbon.CarbonConstants;
import org.wso2.carbon.context.CarbonContext;
import org.wso2.carbon.identity.action.management.exception.ActionMgtException;
import org.wso2.carbon.identity.action.management.model.ActionDTO;
import org.wso2.carbon.identity.action.management.model.Authentication;
import org.wso2.carbon.identity.action.management.model.EndpointConfig;
import org.wso2.carbon.identity.central.log.mgt.utils.LoggerUtils;
import org.wso2.carbon.identity.core.util.IdentityUtil;
import org.wso2.carbon.identity.rule.management.model.Rule;
import org.wso2.carbon.identity.rule.management.util.AuditLogBuilderForRule;
import org.wso2.carbon.user.core.util.UserCoreUtil;
import org.wso2.carbon.utils.AuditLog;
import org.wso2.carbon.utils.multitenancy.MultitenantUtils;
Expand All @@ -47,7 +50,7 @@ public class ActionManagementAuditLogger {
* @param operation Operation associated with the state change.
* @param actionDTO Action object to be logged.
*/
public void printAuditLog(Operation operation, ActionDTO actionDTO) {
public void printAuditLog(Operation operation, ActionDTO actionDTO) throws ActionMgtException {

if (!LoggerUtils.isEnableV2AuditLogs()) {
return;
Expand Down Expand Up @@ -96,7 +99,7 @@ private void buildAuditLog(Operation operation, JSONObject data) {
* @param actionDTO Action to be logged.
* @return audit log data.
*/
private JSONObject createAuditLogEntry(ActionDTO actionDTO) {
private JSONObject createAuditLogEntry(ActionDTO actionDTO) throws ActionMgtException {

JSONObject data = new JSONObject();
data.put(LogConstants.ACTION_TYPE_FIELD, actionDTO.getType() != null ? actionDTO.getType() : JSONObject.NULL);
Expand All @@ -112,9 +115,24 @@ private JSONObject createAuditLogEntry(ActionDTO actionDTO) {
if (actionDTO.getProperties() != null && !actionDTO.getProperties().isEmpty()) {
data.put(LogConstants.ACTION_PROPERTIES, getPropertiesData(actionDTO.getProperties()));
}
if (actionDTO.getActionRule() != null && actionDTO.getActionRule().getRule() != null) {
data.put(LogConstants.ACTION_RULE, getRuleData(actionDTO.getActionRule().getRule()));
}
return data;
}

/**
* Retrieve rule data to be logged.
* All the rule expression values will be masked.
*
* @param rule rule to be logged.
* @return rule data.
*/
private String getRuleData(Rule rule) {

return AuditLogBuilderForRule.buildRuleValue(rule);
}

/**
* Create audit log data with action type and ID.
*
Expand Down Expand Up @@ -263,6 +281,7 @@ private static class LogConstants {
public static final String ACCESS_TOKEN_FIELD = "AccessToken";
public static final String API_KEY_HEADER_FIELD = "ApiKeyHeader";
public static final String API_KEY_VALUE_FIELD = "ApiKeyValue";
public static final String ACTION_RULE = "Rule";
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,22 @@
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import org.wso2.carbon.context.CarbonContext;
import org.wso2.carbon.identity.action.management.exception.ActionMgtException;
import org.wso2.carbon.identity.action.management.model.Action;
import org.wso2.carbon.identity.action.management.model.ActionDTO;
import org.wso2.carbon.identity.action.management.model.ActionRule;
import org.wso2.carbon.identity.action.management.model.Authentication;
import org.wso2.carbon.identity.action.management.model.EndpointConfig;
import org.wso2.carbon.identity.central.log.mgt.utils.LoggerUtils;
import org.wso2.carbon.identity.certificate.management.model.Certificate;
import org.wso2.carbon.identity.common.testng.WithCarbonHome;
import org.wso2.carbon.identity.core.util.IdentityTenantUtil;
import org.wso2.carbon.identity.core.util.IdentityUtil;
import org.wso2.carbon.identity.rule.management.model.ANDCombinedRule;
import org.wso2.carbon.identity.rule.management.model.Expression;
import org.wso2.carbon.identity.rule.management.model.ORCombinedRule;
import org.wso2.carbon.identity.rule.management.model.Value;
import org.wso2.carbon.identity.rule.management.util.AuditLogBuilderForRule;
import org.wso2.carbon.utils.AuditLog;

import java.lang.reflect.Field;
Expand Down Expand Up @@ -168,6 +175,7 @@ public Object[][] actionDataProvider() {
.authentication(new Authentication.BearerAuthBuilder(TEST_ACCESS_TOKEN).build())
.build())
.properties(actionProperties)
.rule(ActionRule.create(buildMockORCombinedRule()))
.build()
},
// Create object without properties
Expand Down Expand Up @@ -199,6 +207,7 @@ public Object[][] actionDataProvider() {
TEST_API_KEY_VALUE).build())
.build())
.properties(updatedActionProperties)
.rule(ActionRule.create(buildMockORCombinedRule()))
.build()
},
{ActionManagementAuditLogger.Operation.UPDATE,
Expand Down Expand Up @@ -249,14 +258,15 @@ public Object[][] actionDataProvider() {

@Test(dataProvider = "actionDataProvider")
public void testPrintAuditLogWithAction(ActionManagementAuditLogger.Operation operation, ActionDTO actionDTO)
throws NoSuchFieldException, IllegalAccessException {
throws NoSuchFieldException, IllegalAccessException, ActionMgtException {

auditLogger.printAuditLog(operation, actionDTO);
AuditLog.AuditLogBuilder capturedArg = captureTriggerAuditLogEventArgs();

Assert.assertNotNull(capturedArg);
assertActionData(capturedArg, actionDTO);
assertAuditLoggerData(capturedArg, operation.getLogAction());

}

@Test
Expand Down Expand Up @@ -333,7 +343,7 @@ private String extractField(String fieldName, AuditLog.AuditLogBuilder auditLogB
* @throws IllegalAccessException if the provided field is not accessible.
*/
private void assertActionData(AuditLog.AuditLogBuilder auditLogBuilder, ActionDTO actionDTO)
throws NoSuchFieldException, IllegalAccessException {
throws NoSuchFieldException, IllegalAccessException, ActionMgtException {

Field dataField = AuditLog.AuditLogBuilder.class.getDeclaredField("data");
dataField.setAccessible(true);
Expand All @@ -352,6 +362,8 @@ private void assertActionData(AuditLog.AuditLogBuilder auditLogBuilder, ActionDT
actionDTO.getEndpoint().getAuthentication() != null &&
actionDTO.getEndpoint().getAuthentication().getType() != null ?
actionDTO.getEndpoint().getAuthentication().getType().getName() : null;
String rule = actionDTO.getActionRule() != null ?
AuditLogBuilderForRule.buildRuleValue(actionDTO.getActionRule().getRule()) : null;

assertField(id != null, dataMap, "ActionId", id);
assertField(name != null, dataMap, "ActionName", name);
Expand All @@ -361,19 +373,30 @@ private void assertActionData(AuditLog.AuditLogBuilder auditLogBuilder, ActionDT
assertField(uri != null, endpointConfigMap, "EndpointUri", uri);
assertField(authenticationScheme != null, endpointConfigMap, "AuthenticationScheme",
authenticationScheme);
assertField(rule != null, dataMap, "Rule", rule);

if (authenticationScheme != null) {
switch (actionDTO.getEndpoint().getAuthentication().getType()) {
case BASIC:
assertMasked(endpointConfigMap.get("Username").toString());
assertMasked(endpointConfigMap.get("Password").toString());
assertField(true, endpointConfigMap, "Username",
LoggerUtils.getMaskedContent(actionDTO.getEndpoint().getAuthentication()
.getProperty(Authentication.Property.USERNAME).getValue()));
assertField(true, endpointConfigMap, "Password",
LoggerUtils.getMaskedContent(actionDTO.getEndpoint().getAuthentication()
.getProperty(Authentication.Property.PASSWORD).getValue()));
break;
case BEARER:
assertMasked(endpointConfigMap.get("AccessToken").toString());
assertField(true, endpointConfigMap, "AccessToken",
LoggerUtils.getMaskedContent(actionDTO.getEndpoint().getAuthentication()
.getProperty(Authentication.Property.ACCESS_TOKEN).getValue()));
break;
case API_KEY:
assertMasked(endpointConfigMap.get("ApiKeyHeader").toString());
assertMasked(endpointConfigMap.get("ApiKeyValue").toString());
assertField(true, endpointConfigMap, "ApiKeyHeader",
LoggerUtils.getMaskedContent(actionDTO.getEndpoint().getAuthentication()
.getProperty(Authentication.Property.HEADER).getValue()));
assertField(true, endpointConfigMap, "ApiKeyValue",
LoggerUtils.getMaskedContent(actionDTO.getEndpoint().getAuthentication()
.getProperty(Authentication.Property.VALUE).getValue()));
break;
case NONE:
default:
Expand All @@ -382,10 +405,15 @@ private void assertActionData(AuditLog.AuditLogBuilder auditLogBuilder, ActionDT
}

if (actionDTO.getProperties() != null && actionDTO.getProperty(PASSWORD_SHARING_TYPE_PROPERTY_NAME) != null) {
assertMasked(propertiesMap.get(PASSWORD_SHARING_TYPE_PROPERTY_NAME).toString());
assertField(propertiesMap.get(PASSWORD_SHARING_TYPE_PROPERTY_NAME) != null, propertiesMap,
PASSWORD_SHARING_TYPE_PROPERTY_NAME, LoggerUtils.getMaskedContent(actionDTO.getProperties()
.get(PASSWORD_SHARING_TYPE_PROPERTY_NAME).toString()));
}

if (actionDTO.getProperties() != null && actionDTO.getProperty(CERTIFICATE_PROPERTY_NAME) != null) {
assertMasked(propertiesMap.get(CERTIFICATE_PROPERTY_NAME).toString());
assertField(propertiesMap.get(CERTIFICATE_PROPERTY_NAME) != null, propertiesMap,
CERTIFICATE_PROPERTY_NAME, LoggerUtils.getMaskedContent(actionDTO.getProperties()
.get(CERTIFICATE_PROPERTY_NAME).toString()));
}
}

Expand All @@ -406,16 +434,6 @@ private void assertField(boolean isFieldExist, Map<String, Object> dataMap, Stri
}
}

/**
* Assert masked data fields.
*
* @param value Value to be asserted.
*/
private void assertMasked(String value) {

Assert.assertTrue(value.contains("*"));
}

/**
* Assert generic data fields in audit logger.
*
Expand Down Expand Up @@ -443,5 +461,30 @@ private void assertAuditLoggerData(AuditLog.AuditLogBuilder auditLogBuilder,
break;
}
}
}

/**
* Builds a mock {@link ORCombinedRule} with predefined expressions.
* The rule consists of:
* - An AND rule matching "application = testapp1" and "grantType = authorization_code".
* - An AND rule matching "application = testapp2".
* These are combined with OR logic.
*
* @return A mock {@link ORCombinedRule} instance.
*/
private ORCombinedRule buildMockORCombinedRule() {
Expression expression1 = new Expression.Builder().field("application").operator("equals")
.value(new Value(Value.Type.REFERENCE, "testapp1")).build();

Expression expression2 = new Expression.Builder().field("grantType").operator("equals")
.value(new Value(Value.Type.STRING, "authorization_code")).build();
ANDCombinedRule andCombinedRule1 =
new ANDCombinedRule.Builder().addExpression(expression1).addExpression(expression2).build();

Expression expression3 = new Expression.Builder().field("application").operator("equals")
.value(new Value(Value.Type.REFERENCE, "testapp2")).build();
ANDCombinedRule andCombinedRule2 =
new ANDCombinedRule.Builder().addExpression(expression3).build();

return new ORCombinedRule.Builder().addRule(andCombinedRule1).addRule(andCombinedRule2).build();
}
}
2 changes: 1 addition & 1 deletion components/action-mgt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>identity-framework</artifactId>
<version>7.7.167-SNAPSHOT</version>
<version>7.7.210-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>ai-services-mgt</artifactId>
<version>7.7.167-SNAPSHOT</version>
<version>7.7.210-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion components/ai-services-mgt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>identity-framework</artifactId>
<version>7.7.167-SNAPSHOT</version>
<version>7.7.210-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>api-resource-mgt</artifactId>
<version>7.7.167-SNAPSHOT</version>
<version>7.7.210-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,10 @@ private APIResourceCollection cloneAPIResourceCollection(APIResourceCollection a
.type(apiResourceCollection.getType())
.readScopes(apiResourceCollection.getReadScopes())
.writeScopes(apiResourceCollection.getWriteScopes())
.legacyReadScopes(apiResourceCollection.getLegacyReadScopes())
.legacyWriteScopes(apiResourceCollection.getLegacyWriteScopes())
.viewFeatureScope(apiResourceCollection.getViewFeatureScope())
.editFeatureScope(apiResourceCollection.getEditFeatureScope())
.apiResources(apiResourceCollection.getApiResources())
.build();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ public static class APIResourceCollectionConfigBuilderConstants {
public static final String TYPE = "type";
public static final String READ = "Read";
public static final String FEATURE = "Feature";
public static final String VERSION = "version";
public static final String VIEW_FEATURE_SCOPE_SUFFIX = "_view";
public static final String EDIT_FEATURE_SCOPE_SUFFIX = "_edit";
public static final String CONSOLE_SCOPE_PREFIX = "console:";
public static final String COLLECTION_VERSION_V0 = "v0";
}

/**
Expand Down
Loading
Loading