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)

Reply via email to