From 9adbd370c212dfb7e93f1f554d6ce20a185b138e Mon Sep 17 00:00:00 2001 From: Pavel Drozd Date: Thu, 4 Feb 2016 09:10:41 +0100 Subject: [PATCH] KEYCLOAK-2445 - Added ssl profile to eap7 server and adapter. --- .../servers/eap7/src/main/xslt/security.xsl | 33 ++++++-- .../tests/other/adapters/eap7/pom.xml | 66 ++++++++++++++++ .../eap7/src/main/keystore/adapter.jks | Bin 0 -> 2232 bytes .../src/main/keystore/keycloak.truststore | Bin 0 -> 1857 bytes .../adapters/eap7/src/main/xslt/security.xsl | 71 ++++++++++++++++++ 5 files changed, 164 insertions(+), 6 deletions(-) create mode 100644 testsuite/integration-arquillian/tests/other/adapters/eap7/src/main/keystore/adapter.jks create mode 100644 testsuite/integration-arquillian/tests/other/adapters/eap7/src/main/keystore/keycloak.truststore create mode 100644 testsuite/integration-arquillian/tests/other/adapters/eap7/src/main/xslt/security.xsl diff --git a/testsuite/integration-arquillian/servers/eap7/src/main/xslt/security.xsl b/testsuite/integration-arquillian/servers/eap7/src/main/xslt/security.xsl index 3d997c46dd..2a238993f8 100644 --- a/testsuite/integration-arquillian/servers/eap7/src/main/xslt/security.xsl +++ b/testsuite/integration-arquillian/servers/eap7/src/main/xslt/security.xsl @@ -17,8 +17,11 @@ @@ -27,11 +30,29 @@ - + + + + + + + + + + + + + + + + + - - - + + + + + diff --git a/testsuite/integration-arquillian/tests/other/adapters/eap7/pom.xml b/testsuite/integration-arquillian/tests/other/adapters/eap7/pom.xml index 761b6cc5b9..d1be1e6423 100644 --- a/testsuite/integration-arquillian/tests/other/adapters/eap7/pom.xml +++ b/testsuite/integration-arquillian/tests/other/adapters/eap7/pom.xml @@ -176,6 +176,72 @@ + + ssl + + + app.server.ssl.required + + + + + + org.codehaus.mojo + xml-maven-plugin + + + configure-adapter-subsystem-security + process-resources + + transform + + + + + ${app.server.eap7.home}/standalone/configuration + + standalone.xml + + src/main/xslt/security.xsl + ${app.server.eap7.home}/standalone/configuration + + + + + + + + maven-resources-plugin + 2.7 + + + copy-keystore + process-resources + + copy-resources + + + ${app.server.eap7.home}/standalone/configuration + + + src/main/keystore + + adapter.jks + keycloak.truststore + + + + + jks + truststore + + + + + + + + adapter-libs-provided diff --git a/testsuite/integration-arquillian/tests/other/adapters/eap7/src/main/keystore/adapter.jks b/testsuite/integration-arquillian/tests/other/adapters/eap7/src/main/keystore/adapter.jks new file mode 100644 index 0000000000000000000000000000000000000000..57cc34b6c4c0eaf60347dd8f894d5e81ffbb173d GIT binary patch literal 2232 zcmcgt={wX58=l|HU<{+iDB_G7YOxn&de8Nqzu^6Ff4J}G`S4u#^IZ3{Gruzrfk2>p0R9I5RmK&^ ztL_Xx|2@URlVxfTf$#tX5WYc7)sK zAidVkE`C^;kB@+T=}_8UJx}8E`+jtZlgB2kuWzwAep5(5L z605_}2^HYZO3u7zoq}wUA&-v+Lic*Y+gl6)YGY@9B_#4uUP7sW!1~tH#WR4mM*`leF4rbv@KAX0~NZg);l71+&Q-%mcz;p?%}!c{AkopNE0r8STMa@ z(TrOMlA!EQ^tW>vHOW1U|~^`z0@m!5%=f@Ys=u%la2yXWSydz(%2oeJTT*Q?`=FAJTN z@o|blPuayu>C&X0`c$)fJHC5&v>07#6GIBGrfIn}3R|BAIbIYhM#wM(o}<1jtv^9% z&Z#h4zS-aD%%|c{J2>k$(Qws)d_y&7^QBWa7j7EXp4?_}Taq5YO{tF?&p1HEFjczn zz{KnN2Pm(f&Zag3Fqd7ePju9(+5O>QxNwKC$e?VpQ*c*LTw0lA`sf&g+0}n09`OXM z9hbnDY|8OgwYn62^t@CXv?)RA8{Ja)maU}xrYYz^?T2{zNPp}8`qPcgOK>_$<}7uo zd_l?85?<ML|JX>?p$t~=FRF_l*UdM{xZ*DZOubHFv0nv_lT3=ZHygG1j2uq&**cN+ zP~oXt5UkBN9gIbB7TnMEnP?S3^VK9JwG{tmYC|C6o7ka8+Gf55tVya)$Ei`Bk(zN6 zEloNOb`bn?okY1er#IQf^h$Z1@3=Z~f! zM9*C@%s)4+qwD)#a0Yw-ebtdHxLHMrnr@%aPDF%aQQ=5X;#{#9FP~BpKCv;+$@9S1 zm{29r3;Oz|UK(%iekLT`09b^fK#*?)_o9(Q)oG-0wtlanMVEGHJ4QuKs&w^*(8K$t z+0iQ+`8VPWC~*u9{)MJqcwvwfqs{$dnykg6@GwtZ&6n7)uER6N!hdHY&jlqCK?4GT zc@aR^Zv+r(kq3hUP$*p4d|{Y?;^mi%HH=+H0e}Dxgy2FHAn^0Ttl_*Es5R{$g1|t{ zC`2@2-(M9z4C1_tpT8@^*O|C~FJAW~B!Pd``m7)(jN>oF8*svi~PSEJNAq_q^Y1!Apdm)#qhuAR2Bi(R%Z=mTU~UvO@< z%7WtQH5TtM-2=V`8BzoQKkPCa`g2O0xy)Fxj6knx{qQ@&N?=wH5%SxJ>9Nv^9k&_F zN)3GMjC|T3*=6?cQGP04XG8~UWR@i)NiVB&ODiVy2T@zGmspt^rjrNAcJ@#h009bd zgu?{v-U_io@PlxX)nW+g!lQ~qMSLDRpCqj&r=y0%{%zvk744Y_Knw!ubudy8*p=cO zQ`4@i;Amget}+&_yXMPcav3|#z#oHC8!J13zmB^;)UdWj(AxamE5+j8J+8PChteEg zNtL=1;EYF)W@-A18#7DoT8icr%7^Q0=+7*HEE@p>u#<=m~ zfeG(F$Y$!SniH2PW|Yo$h?GH<@P;E&@v-l4%0!b~s2)04=w+dY Jt?$>je*%%w*Z}|l literal 0 HcmV?d00001 diff --git a/testsuite/integration-arquillian/tests/other/adapters/eap7/src/main/keystore/keycloak.truststore b/testsuite/integration-arquillian/tests/other/adapters/eap7/src/main/keystore/keycloak.truststore new file mode 100644 index 0000000000000000000000000000000000000000..2df5170f9b39756055850ed3ad0c5d012aab1402 GIT binary patch literal 1857 zcmezO_TO6u1_mZL=E})WPRz;3FD@}+U|MkMHlk@H8W4_LHnT8m&Fogw@|!Tij3-^a(24 zxS>4i;cs@HcH8_*%IE9ah3cCew{CaLFt^eX*I#(vlzYZ~#}B!TZ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