This is an automated email from the ASF dual-hosted git repository.
rfellows pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
from 3f9ef07e3c NIFI-13227 Upgraded Spring and various dependencies
add 3a78575b9a NIFI-12968: Simplify login sequence (#8843)
No new revisions were added by this update.
Summary of changes:
.../org/apache/nifi/web/filter/LoginFilter.java | 87 -----------
.../org/apache/nifi/web/filter/LogoutFilter.java | 91 ------------
.../src/main/nifi/src/app/app-routing.module.ts | 5 +
.../src/main/nifi/src/app/app.module.ts | 28 +---
.../src/app/pages/error/feature/error.component.ts | 9 +-
.../change-color-dialog.component.html | 4 +-
.../ui/canvas/header/header.component.spec.ts | 6 +
.../label/edit-label/edit-label.component.spec.ts | 6 +-
.../port/create-port/create-port.component.spec.ts | 11 +-
.../port/edit-port/edit-port.component.spec.ts | 6 +-
.../create-process-group.component.spec.ts | 11 +-
.../create-processor.component.spec.ts | 11 +-
.../create-remote-process-group.component.spec.ts | 11 +-
.../app/pages/login/feature/login.component.html | 40 ++---
.../src/app/pages/login/feature/login.component.ts | 29 +++-
.../src/app/pages/login/feature/login.module.ts | 2 +
.../app/pages/login/state/access/access.actions.ts | 17 +--
.../app/pages/login/state/access/access.effects.ts | 113 ++++----------
.../app/pages/login/state/access/access.reducer.ts | 35 +----
.../pages/login/state/access/access.selectors.ts | 4 +-
.../nifi/src/app/pages/login/state/access/index.ts | 25 +---
.../login/ui/login-form/login-form.component.html | 4 +-
.../ui/login-form/login-form.component.spec.ts | 9 +-
.../login/ui/login-form/login-form.component.ts | 32 ++--
.../feature/route-not-found.component.spec.ts | 12 +-
.../user-access-policies.component.spec.ts | 10 +-
.../user-table/user-table.component.spec.ts | 3 +-
.../src/app/service/auth-storage.service.spec.ts | 33 -----
.../nifi/src/app/service/auth-storage.service.ts | 75 ----------
.../src/main/nifi/src/app/service/auth.service.ts | 82 +----------
.../nifi/src/app/service/error-helper.service.ts | 5 +-
.../src/app/service/guard/authentication.guard.ts | 164 +++++++++------------
...ation.guard.ts => login-configuration.guard.ts} | 38 ++---
.../service/interceptors/auth.interceptor.spec.ts | 41 ------
.../app/service/interceptors/auth.interceptor.ts | 103 +++++++------
.../interceptors/loading.interceptor.spec.ts | 33 -----
.../service/interceptors/loading.interceptor.ts | 22 +--
.../interceptors/polling.interceptor.spec.ts | 37 -----
.../service/interceptors/polling.interceptor.ts | 37 ++---
.../app/state/current-user/current-user.actions.ts | 8 +
.../app/state/current-user/current-user.effects.ts | 51 ++++++-
.../app/state/current-user/current-user.reducer.ts | 6 +-
.../state/current-user/current-user.selectors.ts | 7 +-
.../main/nifi/src/app/state/current-user/index.ts | 1 +
.../main/nifi/src/app/state/error/error.actions.ts | 5 +
.../main/nifi/src/app/state/error/error.reducer.ts | 15 +-
.../nifi/src/app/state/error/error.selectors.ts | 5 +
.../src/main/nifi/src/app/state/error/index.ts | 1 +
.../src/main/nifi/src/app/state/index.ts | 4 +
.../state/{about => login-configuration}/index.ts | 25 ++--
.../login-configuration.actions.ts} | 10 +-
.../login-configuration.effects.ts} | 18 +--
.../login-configuration.reducer.ts} | 16 +-
.../login-configuration.selectors.ts} | 22 +--
.../advanced-ui/advanced-ui.component.spec.ts | 6 +
.../extension-creation.component.spec.ts | 9 +-
.../ui/common/navigation/navigation.component.html | 6 +-
.../common/navigation/navigation.component.spec.ts | 6 +
.../ui/common/navigation/navigation.component.ts | 25 ++--
.../page-content/page-content.component.html | 4 +-
.../page-content/page-content.component.spec.ts | 12 +-
.../common/page-content/page-content.component.ts | 22 +--
.../status-history.component.spec.ts | 11 +-
.../system-diagnostics-dialog.component.spec.ts | 9 +-
.../src/main/webapp/WEB-INF/web.xml | 41 ------
65 files changed, 598 insertions(+), 1038 deletions(-)
delete mode 100644
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/java/org/apache/nifi/web/filter/LoginFilter.java
delete mode 100644
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/java/org/apache/nifi/web/filter/LogoutFilter.java
delete mode 100644
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/service/auth-storage.service.spec.ts
delete mode 100644
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/service/auth-storage.service.ts
copy
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/service/guard/{flow-configuration.guard.ts
=> login-configuration.guard.ts} (61%)
delete mode 100644
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/service/interceptors/auth.interceptor.spec.ts
delete mode 100644
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/service/interceptors/loading.interceptor.spec.ts
delete mode 100644
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/service/interceptors/polling.interceptor.spec.ts
copy
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/state/{about
=> login-configuration}/index.ts (68%)
copy
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/state/{flow-configuration/flow-configuration.actions.ts
=> login-configuration/login-configuration.actions.ts} (71%)
copy
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/state/{flow-configuration/flow-configuration.effects.ts
=> login-configuration/login-configuration.effects.ts} (76%)
copy
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/state/{flow-configuration/flow-configuration.reducer.ts
=> login-configuration/login-configuration.reducer.ts} (68%)
copy
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-frontend/src/main/nifi/src/app/state/{contoller-service-state/controller-service-state.selectors.ts
=> login-configuration/login-configuration.selectors.ts} (55%)