From f125be9baeeadf96429879c85207e28573445ca9 Mon Sep 17 00:00:00 2001 From: jjg-123 Date: Wed, 6 Nov 2024 17:08:14 -0600 Subject: [PATCH] Fix for https://github.com/ncsa/oa4mp/issues/218. Changed package and some class names related to virtual issuers. --- client-installer/buildNumber.properties | 4 +- oa4mp-server-oauth2/buildNumber.properties | 4 +- .../src/main/webapp/WEB-INF/web.xml | 10 +++++ .../org/oa4mp/server/proxy/OA2ATServlet.java | 8 ++-- .../oa4mp/server/proxy/sas/CLISASServlet.java | 26 ++++++++++--- qdl/buildNumber.properties | 4 +- .../server/qdl/storage/AdminClientStemMC.java | 2 +- .../myproxy/oauth2/tools/OA2Commands.java | 26 +++++++------ .../myproxy/oauth2/tools/SASOA4MPCLI.java | 7 ++++ .../myproxy/oauth2/tools/VICommands.java | 6 +-- .../oauth2/tools/migrate/FSMigrater.java | 4 +- .../src/main/resources/help/admin_help.xml | 2 +- .../admin/adminClient/AdminClientKeys.java | 2 +- server-installer/buildNumber.properties | 4 +- .../org/oa4mp/server/loader/oauth2/OA2SE.java | 14 +++---- .../claims/AbstractAccessTokenHandler.java | 4 +- .../loader/oauth2/claims/IDTokenHandler.java | 4 +- .../oauth2/cm/oidc_cm/OIDCCMServlet.java | 4 +- .../oauth2/loader/OA2ConfigurationLoader.java | 32 ++++++++-------- .../oauth2/servlet/BearerTokenServlet.java | 2 +- .../servlet/OA2AuthorizedServletUtil.java | 19 ---------- .../oauth2/servlet/OA2DiscoveryServlet.java | 16 ++++---- .../loader/oauth2/servlet/OA2TokenUtils.java | 2 +- .../server/loader/oauth2/servlet/RFC7662.java | 4 +- .../state/ScriptRuntimeEngineFactory.java | 2 +- .../oauth2/storage/clients/OA2Client.java | 2 +- .../SQLVOStore.java => vi/SQLVIStore.java} | 6 +-- .../SQLVIStoreProvider.java} | 20 +++++----- .../storage/{vo => vi}/VIConverter.java | 2 +- .../VIFSProvider.java} | 10 ++--- .../storage/{vo => vi}/VIFileStore.java | 2 +- .../storage/{vo => vi}/VIMemoryStore.java | 4 +- .../VIMultiStoreProvider.java} | 14 +++---- .../VOProvider.java => vi/VIProvider.java} | 6 +-- .../{vo => vi}/VISerializationKeys.java | 8 +--- .../oauth2/storage/{vo => vi}/VIStore.java | 2 +- .../{vo/VOTable.java => vi/VITable.java} | 6 +-- .../storage/{vo => vi}/VirtualIssuer.java | 2 +- .../storage/{vo => vi}/package-info.java | 2 +- .../loader/oauth2/tokens/UITokenUtils.java | 2 +- server-test/buildNumber.properties | 4 +- .../resources/flow-tests/auto/tests/all.qdl | 1 + .../auto/tests/oauth-basic-introspection.qdl | 38 +++++++++++++++++++ .../server/test/OA2JSONPreprocessorTest.java | 14 +++---- .../org/oa4mp/server/test/ThingTester.java | 4 +- .../src/site/xhtml/server/manuals/cli.xhtml | 2 +- 46 files changed, 207 insertions(+), 156 deletions(-) create mode 100644 server-admin/src/main/java/org/oa4mp/server/admin/myproxy/oauth2/tools/SASOA4MPCLI.java rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo/SQLVOStore.java => vi/SQLVIStore.java} (93%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo/SQLVOStoreProvider.java => vi/SQLVIStoreProvider.java} (68%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo => vi}/VIConverter.java (98%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo/VOFSProvider.java => vi/VIFSProvider.java} (76%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo => vi}/VIFileStore.java (97%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo => vi}/VIMemoryStore.java (95%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo/VOMultiStoreProvider.java => vi/VIMultiStoreProvider.java} (74%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo/VOProvider.java => vi/VIProvider.java} (78%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo => vi}/VISerializationKeys.java (90%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo => vi}/VIStore.java (86%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo/VOTable.java => vi/VITable.java} (92%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo => vi}/VirtualIssuer.java (99%) rename server-loader/src/main/java/org/oa4mp/server/loader/oauth2/storage/{vo => vi}/package-info.java (65%) create mode 100755 server-test/src/main/resources/flow-tests/auto/tests/oauth-basic-introspection.qdl diff --git a/client-installer/buildNumber.properties b/client-installer/buildNumber.properties index 0d875b4b3..3e9a81793 100644 --- a/client-installer/buildNumber.properties +++ b/client-installer/buildNumber.properties @@ -1,3 +1,3 @@ #maven.buildNumber.plugin properties file -#Sun Nov 03 05:43:39 CST 2024 -buildNumber\\d*=553 +#Wed Nov 06 05:11:21 CST 2024 +buildNumber\\d*=559 diff --git a/oa4mp-server-oauth2/buildNumber.properties b/oa4mp-server-oauth2/buildNumber.properties index 760f72f21..d9bdf241f 100644 --- a/oa4mp-server-oauth2/buildNumber.properties +++ b/oa4mp-server-oauth2/buildNumber.properties @@ -1,3 +1,3 @@ #maven.buildNumber.plugin properties file -#Sun Nov 03 05:43:36 CST 2024 -buildNumber\\d*=12444 +#Wed Nov 06 05:11:18 CST 2024 +buildNumber\\d*=12448 diff --git a/oa4mp-server-oauth2/src/main/webapp/WEB-INF/web.xml b/oa4mp-server-oauth2/src/main/webapp/WEB-INF/web.xml index 4b1f3be0e..693cb9701 100644 --- a/oa4mp-server-oauth2/src/main/webapp/WEB-INF/web.xml +++ b/oa4mp-server-oauth2/src/main/webapp/WEB-INF/web.xml @@ -124,6 +124,16 @@ /register + + sas + org.oa4mp.server.proxy.sas.CLISASServlet + 1 + + + sas + /sas/* + +