Examples of authResponse()


Examples of org.openid4java.server.ServerManager.authResponse()

        OpenIDAuthResponseDTO response = null;

        response = new OpenIDAuthResponseDTO();
        manager = OpenIDProvider.getInstance().getManager();
        authReq = AuthRequest.createAuthRequest(paramList, manager.getRealmVerifier());
        message = manager.authResponse(paramList, request.getOpLocalId(), request
                .getUserSelectedClaimedId(), request.isAuthenticated());

        if (message instanceof DirectError || message instanceof AuthFailure) {
            // Validation fails - returns 'cancel'.
            destinationUrl = message.getDestinationUrl(true);
View Full Code Here

Examples of org.openid4java.server.ServerManager.authResponse()

            String userSelectedId = (String) userData.get(0);
            String userSelectedClaimedId = (String) userData.get(1);
            Boolean authenticatedAndApproved = (Boolean) userData.get(2);

            // --- process an authentication request ---
            response = manager.authResponse(request, userSelectedId,
                    userSelectedClaimedId,
                    authenticatedAndApproved.booleanValue());

            if (response instanceof DirectError) {
                Form f = new Form();
View Full Code Here

Examples of org.openid4java.server.ServerManager.authResponse()

      throw new ServletException(e);
    }

    // --- process an authentication request ---
    //messageResponse = manager.authResponse(parameterList, userSelectedId, userSelectedClaimedId, true);
    messageResponse = manager.authResponse(parameterList, opLocalId, opLocalId, true);
   

    if (messageResponse instanceof DirectError)
      return directResponse(response, messageResponse.keyValueFormEncoding());
    else {
View Full Code Here

Examples of org.openid4java.server.ServerManager.authResponse()

                  session.removeAttribute("parameterlist");
                  session.setAttribute("authenticatedAndApproved", Boolean.FALSE); // Makes you authorize each and every time
              }

              // --- process an authentication request ---
              responsem = manager.authResponse(requestp,
                      userSelectedId,
                      userSelectedClaimedId,
                      authenticatedAndApproved.booleanValue());

              // caller will need to decide which of the following to use:
View Full Code Here

Examples of org.openid4java.server.ServerManager.authResponse()

                  session.removeAttribute("parameterlist");
                  session.setAttribute("authenticatedAndApproved", Boolean.FALSE); // Makes you authorize each and every time
              }

              // --- process an authentication request ---
              responsem = manager.authResponse(requestp,
                      userSelectedId,
                      userSelectedClaimedId,
                      authenticatedAndApproved.booleanValue());

              // caller will need to decide which of the following to use:
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.