Beispiel #1
0
  public static AuthRequest createAuthRequest(ParameterList params, RealmVerifier realmVerifier)
      throws MessageException {
    AuthRequest req = new AuthRequest(params);

    req.setRealmVerifier(realmVerifier);

    req.validate();

    if (DEBUG) _log.debug("Created auth request:\n" + req.keyValueFormEncoding());

    return req;
  }
Beispiel #2
0
  public static AuthRequest createAuthRequest(
      String claimedId,
      String delegate,
      boolean compatibility,
      String returnToUrl,
      String handle,
      String realm,
      RealmVerifier verifier)
      throws MessageException {
    AuthRequest req =
        new AuthRequest(claimedId, delegate, compatibility, returnToUrl, handle, realm, verifier);

    req.validate();

    if (DEBUG) _log.debug("Created auth request:\n" + req.keyValueFormEncoding());

    return req;
  }