ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pei Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CTAKES-359) UMLS Authentication failing despite correct username and password
Date Tue, 12 May 2015 03:36:59 GMT
Pei Chen created CTAKES-359:
-------------------------------

             Summary: UMLS Authentication failing despite correct username and password
                 Key: CTAKES-359
                 URL: https://issues.apache.org/jira/browse/CTAKES-359
             Project: cTAKES
          Issue Type: Bug
    Affects Versions: 3.2.1
            Reporter: Pei Chen
             Fix For: 3.2.2


It seems to me that the service https://uts-ws.nlm.nih.gov/restful/isValidUMLSUser returns
now "<?xml version='1.0' encoding='UTF-8'?><Result>true</Result>" instead
of "<Result>true</Result>". It means that the line

result = line.trim().equalsIgnoreCase("<Result>true</Result>");

in isValidUMLSUser()  should be replaced with

result = line.trim().equalsIgnoreCase("<?xml version='1.0' encoding='UTF-8'?><Result>true</Result>");

Michal



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message