Commit f247cac5 authored by Brian Major's avatar Brian Major
Browse files

s1890 - Change authenticator base URI

parent 110a1a5b
......@@ -98,7 +98,7 @@ public class CadcBasicAuthenticator extends RealmBase
{
private static Logger log = Logger.getLogger(CadcBasicAuthenticator.class);
private static final String AC_URI = "ivo://cadc.nrc.ca/canfargms";
private static final String AC_URI = "ivo://canfar.net/ums";
static
{
......@@ -177,7 +177,7 @@ public class CadcBasicAuthenticator extends RealmBase
{
RealmRegistryClient registryClient = new RealmRegistryClient();
URL loginURL = registryClient.getServiceURL(
new URI(AC_URI), "http", "/login");
new URI(AC_URI + "#login"), "http", "");
String post = "username=" + username + "&password=" + credentials;
......@@ -213,4 +213,4 @@ public class CadcBasicAuthenticator extends RealmBase
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment