Package org.openrdf.http.protocol.cas

Examples of org.openrdf.http.protocol.cas.ProxyFailure


        ServiceResponse casResponse = ServiceResponseParser.parse(casResponseStr);
        if (casResponse instanceof ProxySuccess) {
          return ((ProxySuccess)casResponse).getProxyTicket();
        }
        else if (casResponse instanceof ProxyFailure) {
          ProxyFailure pf = (ProxyFailure)casResponse;
          logger.warn("Failed to acquire proxy ticket: {} \"{}\"", pf.getCode(), pf.getMessage());
        }
        else {
          logger.warn("Unexpected response from CAS server: {}", casResponse);
        }
      }
View Full Code Here

TOP

Related Classes of org.openrdf.http.protocol.cas.ProxyFailure

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.