From e4f4db9b63c9ca81c092c224568829e4ece95f67 Mon Sep 17 00:00:00 2001 From: Martijn Dirkse Date: Fri, 6 Dec 2024 15:01:18 +0100 Subject: [PATCH] Frank2Authentication GitHub Actions test version - allow access --- .../advancedDevelopmentAuthentication.zip | Bin 4052 -> 4052 bytes ...vancedDevelopmentAuthenticationConsole.zip | Bin 1959 -> 1959 bytes .../advancedDevelopmentDockerDevelJms.zip | Bin 6282 -> 6282 bytes .../advancedDevelopmentDockerDevelNoJms.zip | Bin 5686 -> 5686 bytes .../advancedDevelopmentDockerDevelPreJms.zip | Bin 5306 -> 5306 bytes ...evelopmentIntegrationPatternsMessageId.zip | Bin 5298 -> 5298 bytes .../advancedDevelopmentProperties.zip | Bin 1480 -> 1480 bytes .../downloads/configurations/NewHorizons.zip | Bin 8078 -> 8078 bytes .../configurations/NewHorizonsDatabase.zip | Bin 3064 -> 3064 bytes .../NewHorizonsOnlyTableBooking.zip | Bin 5653 -> 5653 bytes .../configurations/NewHorizonsValidate.zip | Bin 5053 -> 5053 bytes .../downloads/configurations/credentials.zip | Bin 612 -> 612 bytes .../configurations/forFrankConsole.zip | Bin 7091 -> 7091 bytes .../configurations/forFrankConsole_2.zip | Bin 10387 -> 10387 bytes .../downloads/configurations/hermesBridge.zip | Bin 4470 -> 4470 bytes docs/source/downloads/extendLadybugTable.zip | Bin 2110 -> 2110 bytes docs/source/downloads/ladybug.zip | Bin 13032 -> 13032 bytes docs/source/downloads/sandbox/v01.zip | Bin 144 -> 144 bytes .../v515/allowAccessForGithubActions.md | 16 ++++++++++++++++ .../v515/allowAccessForGithubActions.txt | 17 +++++++++++++++++ srcSteps/Frank2Authentication/v515/meta.yml | 12 +++++++++++- .../DeploymentSpecifics.properties | 3 +++ 22 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.md create mode 100644 docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.txt diff --git a/docs/source/downloads/advancedDevelopmentAuthentication.zip b/docs/source/downloads/advancedDevelopmentAuthentication.zip index a9b90da1d2f8156b02269064711ee97619e2589c..da224c9f4f1d79a9b89696bdbb32f0cfe52ee9b9 100644 GIT binary patch delta 115 zcmca2e?^`rz?+#xgaHH?D>m|ovM@1LY*uEO$poY)?_+xeq872YfJ8MoL_ngO?YMq0 pf`l!2o`5JhUSANE%bN+JZtzBeC}X|^5H*!AA4IY7gXIeOlL3Wk9sd9T delta 115 zcmca2e?^`rz?+#xgaHJuW^d#XWnsFSy;+%MCKHgJypQb>h+4$n0ut5W5CMs9w&VK2 q2okp7c><#3czr=sE^j7?y1^R>qKx?xK-5&ed=SOP50)$BPX++M&nV#l diff --git a/docs/source/downloads/advancedDevelopmentAuthenticationConsole.zip b/docs/source/downloads/advancedDevelopmentAuthenticationConsole.zip index 6d6638df9b175d914103f3e00854cfe6f1848b4c..0bcc7798d03a24781bdba20b8ce6a0929085c660 100644 GIT binary patch delta 72 zcmZ3^znq^Zz?+#xgaHH?D>m|cV`O5i*v!Ht3#OHsUxVn$0<5n=)L+&R5EaZ;2BJ>0 K6@VyP_ACHgE)qxp delta 72 zcmZ3^znq^Zz?+#xgaHJuW^d&A#>jLvdov4@ESOeiehs203$VThQGZ!OKvXbW8HhT~ KRsf=G*|Pv1G#G#Y diff --git a/docs/source/downloads/advancedDevelopmentDockerDevelJms.zip b/docs/source/downloads/advancedDevelopmentDockerDevelJms.zip index 0eaba0cda4fe3228893a3932134ae499a1de0628..eb2b1186c4a30ce82c0545b19e2cc3128735fa37 100644 GIT binary patch delta 87 zcmeA&>@wsD@MdNaVE_Tfij6#xOiYXwo70)1xIpw_p2_S$dUAwFKZyHM@wsD@MdNaVE}=v*&BHxnV7C-Z%${5;sVi!c_y<1>B$iy{UGj3kz0%)?olx} W5XCDV0ix2yW59yqsUS*6A`SrAF&@zX diff --git a/docs/source/downloads/advancedDevelopmentDockerDevelNoJms.zip b/docs/source/downloads/advancedDevelopmentDockerDevelNoJms.zip index e7bbd44c5c556786e0d6a428d54bd3908a2172dd..c51bb62136ce345be195ff6313ec279de1a07175 100644 GIT binary patch delta 87 zcmdm{vrUI5z?+#xgaHH?D>m}vGcqw&Y_4To#R;M{xhJv%>B)P9dO=)oVLg!aIHGVh4nzvldDBs XK-58zFc2jv8U>m{JGBPn%Y_4aN;Q-NdIVZCN>B&Zd{UGjPK?9KVG1r0#blfMeN Wfhb$y2oN=0I0h^zoC>01MB)I@w;sj- diff --git a/docs/source/downloads/advancedDevelopmentIntegrationPatternsMessageId.zip b/docs/source/downloads/advancedDevelopmentIntegrationPatternsMessageId.zip index 565fa40ab637246700dda3f96b6211d6fff1e0a4..d5cd0fa304d2a7e16aa0d118fd3afa2298500272 100644 GIT binary patch delta 87 zcmdm_xk-~Jz?+#xgaHH?D>m{}F)}e$Z0=w@%nqV`Ip=`r$*%=wfVi!KmLTcL2Za1V Wl%Q}Th$<0I1yQ$!^FWlhNIC$@^cQOY delta 87 zcmdm_xk-~Jz?+#xgaHJuW^d%FVr06Sy}5(&Fgu9$<(vbeC%+b$0phj_T7sk}9}w~f WQG&vWAgV+-6-3<@&I3{2BIyA3%pWlT diff --git a/docs/source/downloads/advancedDevelopmentProperties.zip b/docs/source/downloads/advancedDevelopmentProperties.zip index da4b50821d2c88aa02de2a483077de39fe3fd8e1..fda4631c12583ad49a798ba4db28988c3ca367bd 100644 GIT binary patch delta 70 zcmX@XeS(`Oz?+#xgaHH?D<<-kFfmqaY!YS!Qk$nUsxSfR$$OcbL6j3qAc&gE5)Pu? Lv1Ea$DAqgxMG+C& delta 70 zcmX@XeS(`Oz?+#xgaHJuW>4fPVY-^Vu}PQ_NNt|ZsKNxKC+}r$22oBdfgoxsOE`#n L$C3r2qFD0)1i}~+ diff --git a/docs/source/downloads/configurations/NewHorizons.zip b/docs/source/downloads/configurations/NewHorizons.zip index c92a117424c365caeb44441108e268e3e50c9ba3..1e26658b4a664f358a038286535b13c5ea4d60e5 100644 GIT binary patch delta 101 zcmeCP@3ZF#@MdNaVE_Tfij6!LEKH0Qo84G0F@tC+4g+ow?IZl36G%_?l??(>3uQw< g)OT5P5M?0e0;0;~Y(dmkIY$unL(UUKIm>$k0Mip1NB{r; delta 101 zcmeCP@3ZF#@MdNaVE}=v*&BH*SeUM6Z+2t3#0;XPI1IQ!w2$zAP9QzmS2hSlEtCxb gQQu|FL6m`<3y3O{vjtIG?Z|c;-JRkeYm!D+EL-bK8QbByL9#wUj#;0Hb3M AGynhq delta 55 zcmew%{zIH6z?+#xgaHJuW>4hV$8m|2urM)JY<6SGU<1(`xc+kj>B$>KLO>L|s5yvo5VZwS M^`ed->X2wK09I=e&;S4c delta 72 zcmbQLGgXHtz?+#xgaHJuW^d%NU}3tNz1fW=gAGJ);QG%Aq$h6_2?0^;qUIpVLDUvR M)r&fUs6(Q`02px?2mk;8 diff --git a/docs/source/downloads/configurations/NewHorizonsValidate.zip b/docs/source/downloads/configurations/NewHorizonsValidate.zip index d5f5f71a9b1bb31749ee204d85bac8852eea5d3e..f9345530aeb48b5990541f87a1dfe5e855bb2f9d 100644 GIT binary patch delta 72 zcmdn1zE_m|2urM)JY<6Q20Mij1|2cvD$&o@KAZopkIf!~8WDBCy Lg&jdumT)itS6mUE delta 72 zcmdn1zE_m}*Gchq%OqOMG2LM%q1x^3} delta 28 hcmaFD@`Qyaz?+#xgaHJuW^d%-XJWdVJz18?9ROru2HXGu diff --git a/docs/source/downloads/configurations/forFrankConsole.zip b/docs/source/downloads/configurations/forFrankConsole.zip index 44be8284887935de4fb75aa02abc84963cff1b6d..d8b373b15751f28cbfb9643ad0f706c7982716c4 100644 GIT binary patch delta 100 zcmdmNzS*27z?+#xgaHH?D<<+(Gci_d>`Y|@Qky?8&SwYF6FF6RK=cmLT4o?U*<7*? gL~WP!0a2_{o**hfDilO5mx=~aEYiLpDp)!J02x9WMF0Q* delta 100 zcmdmNzS*27z?+#xgaHJuW>4g)X1bcau``tsNNxVWIG-IvPvlhP0ns}|Yng%cWOK2Sl+-d4i|_sZbELTq+twu}J%Zs9@;?0Kt?anE(I) diff --git a/docs/source/downloads/configurations/forFrankConsole_2.zip b/docs/source/downloads/configurations/forFrankConsole_2.zip index fe93def74b9f3a77e046451c75fd8a3c7734753f..47f8c60e11900114785dda8c319c0e9b912a2f64 100644 GIT binary patch delta 115 zcmbOnI606fz?+#xgaHH?D<<+(Gci_d?A*@?q&9mov2cOt0G|2mAo`=Q8xM%KRA^!a q(v$b9)`2KnH6IYwt>y`$uBk4g)X1bcav2#BoklO6U#KHxl19;}MgXoXKZag5`QlW_z qNKf9YS_h(R)qFryx0)x2x~3KZq72kSK~%eXG>Cel?hB%fH4*^&04h=d diff --git a/docs/source/downloads/configurations/hermesBridge.zip b/docs/source/downloads/configurations/hermesBridge.zip index 11613d895111b0f6fc3210a0ee3b4c3f675cf911..51c36c5c6571038aa0add2859b683ba7dc4084c3 100644 GIT binary patch delta 72 zcmeyS^i7E;z?+#xgaHH?D<<-MXJV|_%*yzb1w_ALt>XaEIeb?bf%If20b3B&DBuaA M&ItH}C|SWs0Kv}_k^lez delta 72 zcmeyS^i7E;z?+#xgaHJuW>4h#&U7_4e^VY-^VF{zOaNKJmqmItCj*}Xv2LUs=j^_o2x0M(Zg A^Z)<= diff --git a/docs/source/downloads/ladybug.zip b/docs/source/downloads/ladybug.zip index 57ec840ff40df676e754660de9af2adaff84770b..a4851ac55cc4f1611f5372cdcfff81a801b11380 100644 GIT binary patch delta 191 zcmaEn`XZGlz?+#xgaHH?D>m|MWM*Ql*u0 zAlgQT7fgFAXtRO%6>1_(Ai7T@8%+P!QUS?NR@6TVqF(6RfG9NsTM(6M;0B`B8aRTe n4+dT!%Ek~ZS8eD3;_WpAYxr$w4&s>@*@LK3BV!P?%E%4?C74E< diff --git a/docs/source/downloads/sandbox/v01.zip b/docs/source/downloads/sandbox/v01.zip index c097dee12f49609d429d20be2ad4390615b0d0c6..3cf6f491139f22148e70d5b62cf5a72e87893c38 100644 GIT binary patch delta 26 dcmbQhIDwHTz?+#xgaHH?D<<+dGXcp!djLE^1lj-q delta 26 dcmbQhIDwHTz?+#xgaHJuW>4gCW&)Cd_5euB250~P diff --git a/docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.md b/docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.md new file mode 100644 index 00000000..134362cc --- /dev/null +++ b/docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.md @@ -0,0 +1,16 @@ +```none{1, 2, 3} +# Allow access for GitHub Actions test, to check the server console does not have warnings +application.security.console.authentication.type=NONE + +# Define the available authenticators +application.security.http.authenticators=inMem + +# Configure the authenticator +application.security.http.authenticators.inMem.type=IN_MEMORY +application.security.http.authenticators.inMem.username=ADMIN +application.security.http.authenticators.inMem.password=PASSWORD1234 + +# Tell what should be secured +servlet.ApiListenerServlet.authenticator=inMem +servlet.ApiListenerServlet.securityRoles=IbisAdmin +``` diff --git a/docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.txt b/docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.txt new file mode 100644 index 00000000..1936fd1c --- /dev/null +++ b/docs/source/snippets/Frank2Authentication/v515/allowAccessForGithubActions.txt @@ -0,0 +1,17 @@ +.. code-block:: none + :emphasize-lines: 1, 2, 3 + + # Allow access for GitHub Actions test, to check the server console does not have warnings + application.security.console.authentication.type=NONE + + # Define the available authenticators + application.security.http.authenticators=inMem + + # Configure the authenticator + application.security.http.authenticators.inMem.type=IN_MEMORY + application.security.http.authenticators.inMem.username=ADMIN + application.security.http.authenticators.inMem.password=PASSWORD1234 + + # Tell what should be secured + servlet.ApiListenerServlet.authenticator=inMem + servlet.ApiListenerServlet.securityRoles=IbisAdmin diff --git a/srcSteps/Frank2Authentication/v515/meta.yml b/srcSteps/Frank2Authentication/v515/meta.yml index 1094b514..27178c32 100644 --- a/srcSteps/Frank2Authentication/v515/meta.yml +++ b/srcSteps/Frank2Authentication/v515/meta.yml @@ -9,7 +9,17 @@ new: 1 snippet: changePortsForGithubActions highlight: true +- file: + path: server/configurations/DeploymentSpecifics.properties + change: + - insert: 3 + snippet: allowAccessForGithubActions + highlight: true - snippet: name: changePortsForGithubActions markup: none - context: 50 \ No newline at end of file + context: 50 +- snippet: + name: allowAccessForGithubActions + markup: none + context: 50 diff --git a/srcSteps/Frank2Authentication/v515/server/configurations/DeploymentSpecifics.properties b/srcSteps/Frank2Authentication/v515/server/configurations/DeploymentSpecifics.properties index d8cd9ae7..f3b86226 100644 --- a/srcSteps/Frank2Authentication/v515/server/configurations/DeploymentSpecifics.properties +++ b/srcSteps/Frank2Authentication/v515/server/configurations/DeploymentSpecifics.properties @@ -1,3 +1,6 @@ +# Allow access for GitHub Actions test, to check the server console does not have warnings +application.security.console.authentication.type=NONE + # Define the available authenticators application.security.http.authenticators=inMem