Package org.hoteia.qalingo.core.service.openid

Examples of org.hoteia.qalingo.core.service.openid.Endpoint


      try {
        openIdService.setRealm(urlService.buildDomainePathUrl(requestData));
        String openIdCallBackURL = urlService.buildOpenIdCallBackUrl(requestData);
        openIdService.setReturnTo(urlService.buildAbsoluteUrl(requestData, openIdCallBackURL));
         
        Endpoint endpoint = openIdService.lookupEndpoint(OpenProvider.YAHOO.getPropertyKey().toLowerCase());
              Association association = openIdService.lookupAssociation(endpoint);
              request.getSession().setAttribute(Utils.ATTR_MAC, association.getRawMacKey());
              request.getSession().setAttribute(Utils.ATTR_ALIAS, endpoint.getAlias());
              String url = openIdService.getAuthenticationUrl(endpoint, association);
              response.sendRedirect(url);
         
      } catch (Exception e) {
        logger.error("Connect With " + OpenProvider.YAHOO.getPropertyKey() + " failed!");
View Full Code Here

TOP

Related Classes of org.hoteia.qalingo.core.service.openid.Endpoint

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.