Package org.kapott.hbci.manager

Examples of org.kapott.hbci.manager.ChallengeInfo$Param


            JSONArray jsonArray = jsonObject.getJSONArray("params");
            for(int i=0; i<jsonArray.length(); i++) {
                try {
                    String paramName    = jsonArray.getJSONObject(i).getString("name");
                    String paramDefault = jsonArray.getJSONObject(i).getString("default");
                    Param param = request.addNewParam();
                    param.setName(paramName);
                    param.setDefault(paramDefault);
                    param.setStyle(ParamStyle.Enum.forString("query"));
                    param.setType("xs:string");
                } catch (JSONException ex) {
                    Logger.getLogger(WADLGenerator.class.getName()).log(Level.SEVERE, null, ex);
                }
            }
        } catch (JSONException ex) {
View Full Code Here


                           
                            // wenn needchallengeklass gesetzt ist:
                            if (secmechInfo.getProperty("needchallengeklass","N").equals("J"))
                            {
                                HBCIUtils.log("we are in PV #1, and a challenge klass is required",HBCIUtils.LOG_DEBUG);
                                ChallengeInfo cinfo = ChallengeInfo.getInstance();
                                cinfo.applyParams(task,hktan,secmechInfo);
                            }

                            // willuhn 2011-05-09: Bei Bedarf noch das TAN-Medium erfragen
                            applyTanMedia(hktan);
                           
View Full Code Here

   * @param version die HHD-Version.
   * @return die Challenge-Daten.
   */
  private HhdVersion getHhdVersion(String code, String version)
  {
    ChallengeInfo info = ChallengeInfo.getInstance();
    Job job = info.getData(code);
    return job != null ? job.getVersion(version) : null;
  }
View Full Code Here

TOP

Related Classes of org.kapott.hbci.manager.ChallengeInfo$Param

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.