Examples of shouldRedirect()


Examples of org.mitre.openid.connect.client.model.IssuerServiceResponse.shouldRedirect()

  @Override
  public IssuerServiceResponse getIssuer(HttpServletRequest request) {

    IssuerServiceResponse resp = thirdPartyIssuerService.getIssuer(request);
    if (resp.shouldRedirect()) {
      // if it wants us to redirect, try the webfinger approach first
      return webfingerIssuerService.getIssuer(request);
    } else {
      return resp;
    }
View Full Code Here

Examples of org.mitre.openid.connect.client.model.IssuerServiceResponse.shouldRedirect()

    if (issResp == null) {
      logger.error("Null issuer response returned from service.");
      throw new AuthenticationServiceException("No issuer found.");
    }

    if (issResp.shouldRedirect()) {
      response.sendRedirect(issResp.getRedirectUrl());
    } else {
      String issuer = issResp.getIssuer();

      if (!Strings.isNullOrEmpty(issResp.getTargetLinkUri())) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.