@@ -0,0 +1,2013 @@
+/*%0A * Copyright 2015 Red Hat, Inc.%0A *%0A *  All rights reserved. This program and the accompanying materials%0A *  are made available under the terms of the Eclipse Public License v1.0%0A *  and Apache License v2.0 which accompanies this distribution.%0A *%0A *  The Eclipse Public License is available at%0A *  http://www.eclipse.org/legal/epl-v10.html%0A *%0A *  The Apache License v2.0 is available at%0A *  http://www.opensource.org/licenses/apache2.0.php%0A *%0A *  You may elect to redistribute this code under either of these licenses.%0A */%0Apackage io.vertx.ext.auth.jwt;%0A%0Aimport io.vertx.codegen.annotations.DataObject;%0Aimport io.vertx.core.json.JsonObject;%0A%0A/**%0A * Options describing how an JWT KeyStore should behave.%0A *%0A * @author %3Ca href=%22mailto:plopes@redhat.com%22%3EPaulo Lopes%3C/a%3E%0A */%0A@DataObject(generateConverter = true)%0Apublic class JWTKeyStoreOptions %7B%0A%0A  // Defaults%0A  private static final String TYPE = %22jceks%22;%0A%0A  private String type;%0A  private String path;%0A  private String password;%0A%0A  /**%0A   * Default constructor%0A   */%0A  public JWTKeyStoreOptions() %7B%0A    init();%0A  %7D%0A%0A  /**%0A   * Copy constructor%0A   *%0A   * @param other the options to copy%0A   */%0A  public JWTKeyStoreOptions(JWTKeyStoreOptions other) %7B%0A    type = other.getType();%0A    path = other.getPath();%0A    password = other.getPassword();%0A  %7D%0A%0A  private void init() %7B%0A    type = TYPE;%0A  %7D%0A%0A  /**%0A   * Constructor to create an options from JSON%0A   *%0A   * @param json the JSON%0A   */%0A  public JWTKeyStoreOptions(JsonObject json) %7B%0A    init();%0A    JWTKeyStoreOptionsConverter.fromJson(json, this);%0A  %7D%0A%0A  public String getType() %7B%0A    return type;%0A  %7D%0A%0A  public JWTKeyStoreOptions setType(String type) %7B%0A    this.type = type;%0A    return this;%0A  %7D%0A%0A  public String getPath() %7B%0A    return path;%0A  %7D%0A%0A  public JWTKeyStoreOptions setPath(String path) %7B%0A    this.path = path;%0A    return this;%0A  %7D%0A%0A  public String getPassword() %7B%0A    return password;%0A  %7D%0A%0A  public JWTKeyStoreOptions setPassword(String password) %7B%0A    this.password = password;%0A    return this;%0A  %7D%0A%7D%0A

Update to use DataObjects