Changing test file to reference the jws bytes correctly

Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/fe20846c
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/fe20846c
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/fe20846c

Branch: refs/heads/2_0_X
Commit: fe20846cc83c81f0a3a12f4c36a6e5f9ffb71009
Parents: a775712
Author: Colm O hEigeartaigh <cohei...@apache.org>
Authored: Thu Jun 22 16:09:39 2017 +0100
Committer: Colm O hEigeartaigh <cohei...@apache.org>
Committed: Thu Jun 22 17:08:56 2017 +0100

----------------------------------------------------------------------
 core/provisioning-java/src/test/resources/provisioningTest.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/fe20846c/core/provisioning-java/src/test/resources/provisioningTest.xml
----------------------------------------------------------------------
diff --git a/core/provisioning-java/src/test/resources/provisioningTest.xml 
b/core/provisioning-java/src/test/resources/provisioningTest.xml
index b16780f..4db50f0 100644
--- a/core/provisioning-java/src/test/resources/provisioningTest.xml
+++ b/core/provisioning-java/src/test/resources/provisioningTest.xml
@@ -45,13 +45,13 @@ under the License.
     <constructor-arg value="${jwsKey}"/>
   </bean>
   <bean id="jwsSignatureVerifier" 
class="org.apache.cxf.rs.security.jose.jws.HmacJwsSignatureVerifier">
-    <constructor-arg value="${jwsKey}.bytes" index="0"/>
+    <constructor-arg value="#{jwsKey.getBytes()}" index="0"/>
     <constructor-arg index="1">
       <value 
type="org.apache.cxf.rs.security.jose.jwa.SignatureAlgorithm">HS512</value>
     </constructor-arg>
   </bean>
   <bean id="jwsSignatureProvider" 
class="org.apache.cxf.rs.security.jose.jws.HmacJwsSignatureProvider">
-    <constructor-arg value="${jwsKey}.bytes" index="0"/>
+    <constructor-arg value="#{jwsKey.getBytes()}" index="0"/>
     <constructor-arg index="1">
       <value 
type="org.apache.cxf.rs.security.jose.jwa.SignatureAlgorithm">HS512</value>
     </constructor-arg>

Reply via email to