diff --git a/labs/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/filters/SOAPWrapWithPasswordAuth.java b/labs/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/filters/SOAPWrapWithPasswordAuth.java index de551644d2..badc69ab8a 100644 --- a/labs/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/filters/SOAPWrapWithPasswordAuth.java +++ b/labs/ultradns-ws/src/main/java/org/jclouds/ultradns/ws/filters/SOAPWrapWithPasswordAuth.java @@ -37,11 +37,13 @@ import com.google.common.base.Supplier; */ public class SOAPWrapWithPasswordAuth implements HttpRequestFilter { static final String WSSE_NS = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; + static final String PASSWORD_TEXT = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"; static final String SOAP_PREFIX = new StringBuilder() - .append("") .append("") - .append("%s%s") + .append("%s") + .append("%s") .append("").toString(); static final String SOAP_SUFFIX = ""; diff --git a/labs/ultradns-ws/src/test/resources/get_current_account.xml b/labs/ultradns-ws/src/test/resources/get_current_account.xml index d8192021a2..2505ea78df 100644 --- a/labs/ultradns-ws/src/test/resources/get_current_account.xml +++ b/labs/ultradns-ws/src/test/resources/get_current_account.xml @@ -1 +1 @@ -identitycredential \ No newline at end of file +identitycredential \ No newline at end of file diff --git a/labs/ultradns-ws/src/test/resources/get_zone.xml b/labs/ultradns-ws/src/test/resources/get_zone.xml index f36abe0909..9b542d5464 100644 --- a/labs/ultradns-ws/src/test/resources/get_zone.xml +++ b/labs/ultradns-ws/src/test/resources/get_zone.xml @@ -1 +1 @@ -identitycredentialjclouds.org. \ No newline at end of file +identitycredentialjclouds.org. \ No newline at end of file diff --git a/labs/ultradns-ws/src/test/resources/list_zones_by_account.xml b/labs/ultradns-ws/src/test/resources/list_zones_by_account.xml index 8e633c0a78..ad39bbabe2 100644 --- a/labs/ultradns-ws/src/test/resources/list_zones_by_account.xml +++ b/labs/ultradns-ws/src/test/resources/list_zones_by_account.xml @@ -1 +1 @@ -identitycredentialAAAAAAAAAAAAAAAAall \ No newline at end of file +identitycredentialAAAAAAAAAAAAAAAAall \ No newline at end of file diff --git a/labs/ultradns-ws/src/test/resources/list_zones_by_account_and_type.xml b/labs/ultradns-ws/src/test/resources/list_zones_by_account_and_type.xml index 859d651c47..a56dbba5c8 100644 --- a/labs/ultradns-ws/src/test/resources/list_zones_by_account_and_type.xml +++ b/labs/ultradns-ws/src/test/resources/list_zones_by_account_and_type.xml @@ -1 +1 @@ -identitycredentialAAAAAAAAAAAAAAAAprimary \ No newline at end of file +identitycredentialAAAAAAAAAAAAAAAAprimary \ No newline at end of file