[jboss-cvs] Picketlink SVN: r1005 - integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 16 16:29:31 EDT 2011
Author: anil.saldhana at jboss.com
Date: 2011-06-16 16:29:31 -0400 (Thu, 16 Jun 2011)
New Revision: 1005
Modified:
integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java
Log:
use the non-jaxb method
Modified: integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java
===================================================================
--- integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java 2011-06-16 20:27:47 UTC (rev 1004)
+++ integration-tests/trunk/picketlink-sts-tests/src/test/java/org/picketlink/test/integration/sts/PicketLinkSTSIntegrationUnitTestCase.java 2011-06-16 20:29:31 UTC (rev 1005)
@@ -271,7 +271,7 @@
// set the client secret in the client entropy.
EntropyType clientEntropy = new EntropyType();
- clientEntropy.getAny().add(clientBinarySecret);
+ clientEntropy.addAny(clientBinarySecret);
request.setEntropy(clientEntropy);
// dispatch the request and get the issued assertion.
@@ -309,7 +309,7 @@
// include a UseKey section that specifies the certificate in the request.
UseKeyType useKey = new UseKeyType();
- useKey.setAny(Base64.encodeBytes(certificate.getEncoded()).getBytes());
+ useKey.add(Base64.encodeBytes(certificate.getEncoded()).getBytes());
request.setUseKey(useKey);
// dispatch the request and get the issued assertion.
@@ -345,7 +345,7 @@
// include a UseKey section that sets the public key in the request.
KeyValueType keyValue = WSTrustUtil.createKeyValue(certificate.getPublicKey());
UseKeyType useKey = new UseKeyType();
- useKey.setAny(keyValue);
+ useKey.add(keyValue);
request.setUseKey(useKey);
// dispatch the request and get the issued assertion.
More information about the jboss-cvs-commits
mailing list