Loading cadcCDP/build.xml +4 −1 Original line number Original line Diff line number Diff line Loading @@ -115,5 +115,8 @@ </manifest> </manifest> </target> </target> <target name="test"> <echo message="tests not implemented"/> </target> </project> </project> cadcCDP/src/ca/nrc/cadc/cred/client/CredClient.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -199,7 +199,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_PROXY_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_PROXY_10, AuthMethod.CERT); URL url = new URL(credUrl.toExternalForm() + "/" + path.toString()); URL url = new URL(credUrl.toExternalForm() + "/" + path.toString()); LOGGER.debug("getCertficate: " + url.toString()); LOGGER.debug("getCertficate: " + url.toString()); return downloadCertificate(url); return downloadCertificate(url); Loading Loading @@ -242,7 +242,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10, AuthMethod.CERT); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); LOGGER.debug("delegate(), URL=" + resourceURL); LOGGER.debug("delegate(), URL=" + resourceURL); Loading Loading @@ -313,7 +313,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10, AuthMethod.CERT); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); LOGGER.debug("delegate(), URL=" + resourceURL); LOGGER.debug("delegate(), URL=" + resourceURL); Loading Loading @@ -617,7 +617,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10, AuthMethod.CERT); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); LOGGER.debug("get hash, URL=" + resourceURL); LOGGER.debug("get hash, URL=" + resourceURL); Loading Loading
cadcCDP/build.xml +4 −1 Original line number Original line Diff line number Diff line Loading @@ -115,5 +115,8 @@ </manifest> </manifest> </target> </target> <target name="test"> <echo message="tests not implemented"/> </target> </project> </project>
cadcCDP/src/ca/nrc/cadc/cred/client/CredClient.java +4 −4 Original line number Original line Diff line number Diff line Loading @@ -199,7 +199,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_PROXY_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_PROXY_10, AuthMethod.CERT); URL url = new URL(credUrl.toExternalForm() + "/" + path.toString()); URL url = new URL(credUrl.toExternalForm() + "/" + path.toString()); LOGGER.debug("getCertficate: " + url.toString()); LOGGER.debug("getCertficate: " + url.toString()); return downloadCertificate(url); return downloadCertificate(url); Loading Loading @@ -242,7 +242,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10, AuthMethod.CERT); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); LOGGER.debug("delegate(), URL=" + resourceURL); LOGGER.debug("delegate(), URL=" + resourceURL); Loading Loading @@ -313,7 +313,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10, AuthMethod.CERT); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); LOGGER.debug("delegate(), URL=" + resourceURL); LOGGER.debug("delegate(), URL=" + resourceURL); Loading Loading @@ -617,7 +617,7 @@ public class CredClient } } URL credUrl = getRegistryClient() URL credUrl = getRegistryClient() .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10_URI, AuthMethod.CERT); .getServiceURL(this.serviceID, Standards.CRED_DELEGATE_10, AuthMethod.CERT); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); URL resourceURL = new URL(credUrl.toExternalForm() + "/" + resourcePath.toString()); LOGGER.debug("get hash, URL=" + resourceURL); LOGGER.debug("get hash, URL=" + resourceURL); Loading