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

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


        // check sign on result from Google or Yahoo:
        checkNonce(request.getParameter("openid.response_nonce"));
        // get authentication:
        byte[] mac_key = (byte[]) request.getSession().getAttribute(Utils.ATTR_MAC);
        String alias = (String) request.getSession().getAttribute(Utils.ATTR_ALIAS);
        OpenIdAuthentication authentication = openIdService.getAuthentication(request, mac_key, alias);
        handleAuthenticationData(request, authentication);
          response.sendRedirect(urlService.generateUrl(FoUrls.PERSONAL_EDIT, requestUtil.getRequestData(request)));

      } catch (Exception e) {
        logger.error("Callback With openid failed!");
View Full Code Here

TOP

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

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.