Package edu.stanford.bmir.protege.web.server.rest

Examples of edu.stanford.bmir.protege.web.server.rest.BioPortalUserInfoRestCall


    }
   
   
    public BioPortalUserInfo getUserInfo(String username, String userpassword) throws CannotValidateBioPortalCredentials {
        try {
            BioPortalUserInfoRestCall call = new BioPortalUserInfoRestCall(bioportalRestAPIBase, username, userpassword);
            BioPortalUserInfoBean bean = call.doCallForObject();
            return new BioPortalUserInfo(bean.getUserName(), bean.getFirstName(), bean.getLastName(), BioPortalUserId.createFromId(bean.getId()), bean.getEmail());

        }
        catch (IOException e) {
            throw new CannotValidateBioPortalCredentials();
View Full Code Here

TOP

Related Classes of edu.stanford.bmir.protege.web.server.rest.BioPortalUserInfoRestCall

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.