Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OATS-CADC
ac
Commits
f247cac5
Commit
f247cac5
authored
Mar 31, 2016
by
Brian Major
Browse files
s1890 - Change authenticator base URI
parent
110a1a5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cadcTomcat/src/ca/nrc/cadc/tomcat/CadcBasicAuthenticator.java
View file @
f247cac5
...
...
@@ -98,7 +98,7 @@ public class CadcBasicAuthenticator extends RealmBase
{
private
static
Logger
log
=
Logger
.
getLogger
(
CadcBasicAuthenticator
.
class
);
private
static
final
String
AC_URI
=
"ivo://ca
dc.nrc.ca/canfarg
ms"
;
private
static
final
String
AC_URI
=
"ivo://ca
nfar.net/u
ms"
;
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
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment