This is an automated email from the ASF dual-hosted git repository.
Aman-Mittal pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
from 7b9f9d098c Merge pull request #6438 from
renovate-bot/renovate/jakarta.ws.rs-jakarta.ws.rs-api-4.x
add 7580ac3713 FINERACT-2968: Share API request matcher rules across
security filter chains
add 2e0593352e FINERACT-2968: Cover remaining API routes with request
matcher rules
add 01f2e42e8d FINERACT-2968: Add permissions used by the API request
matcher rules
new c3d46e9eea Merge pull request #6935 from
Aman-Mittal/FINERACT-2968-api-authorization-rules
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../stepdef/common/ApiAuthorizationStepDef.java | 100 +++++
.../resources/features/ApiAuthorization.feature | 45 ++
.../core/config/ApiAuthorizationRules.java | 350 ++++++++++++++++
.../core/config/ApiRequestMatcher.java | 106 +++++
.../infrastructure/core/config/SecurityConfig.java | 366 +---------------
.../security/config/AuthorizationServerConfig.java | 11 +
.../config/OidcFederationSecurityConfig.java | 11 +-
.../portfolio/client/api/ClientsApiResource.java | 7 +
.../db/changelog/tenant/changelog-tenant.xml | 1 +
...add_permissions_for_api_authorization_rules.xml | 460 +++++++++++++++++++++
.../core/config/ApiAuthorizationCoverageTest.java | 435 +++++++++++++++++++
.../core/config/ApiRequestMatcherTest.java | 65 +++
...tandingInstructionCommandAuthorizationTest.java | 6 +-
.../FineractJwtAuthenticationTokenConverter.java | 5 +-
...ineractJwtAuthenticationTokenConverterTest.java | 80 ++++
.../integrationtests/EndpointPermissionTest.java | 151 +++++++
.../TwoFactorAuthenticationTest.java | 9 +
17 files changed, 1838 insertions(+), 370 deletions(-)
create mode 100644
fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/common/ApiAuthorizationStepDef.java
create mode 100644
fineract-e2e-tests-runner/src/test/resources/features/ApiAuthorization.feature
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/ApiAuthorizationRules.java
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/ApiRequestMatcher.java
create mode 100644
fineract-provider/src/main/resources/db/changelog/tenant/parts/0287_add_permissions_for_api_authorization_rules.xml
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/infrastructure/core/config/ApiAuthorizationCoverageTest.java
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/infrastructure/core/config/ApiRequestMatcherTest.java
create mode 100644
fineract-security/src/test/java/org/apache/fineract/infrastructure/security/converter/FineractJwtAuthenticationTokenConverterTest.java
create mode 100644
integration-tests/src/test/java/org/apache/fineract/integrationtests/EndpointPermissionTest.java