Skip to content

Commit

Permalink
0004663: Added encrypted type to parameters (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-miller-jumpmind committed Nov 25, 2020
1 parent 16104e4 commit e17a149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Expand Up @@ -83,6 +83,7 @@ db.user=please set me

# Specify your database password
# Tags: database
# Type: encrypted
db.password=

# The initial size of the connection pool
Expand Down
Expand Up @@ -203,6 +203,7 @@ public static class ParameterMetaData implements Serializable {
public static final String TYPE_SQL = "sql";
public static final String TYPE_CODE = "code";
public static final String TYPE_XML = "xml";
public static final String TYPE_ENCRYPTED = "encrypted";

private static final long serialVersionUID = 1L;
private String key;
Expand Down Expand Up @@ -291,6 +292,10 @@ public boolean isIntType() {
public boolean isTextBoxType() {
return type != null && type.equals(TYPE_TEXT_BOX);
}

public boolean isEncryptedType() {
return type != null && type.equals(TYPE_ENCRYPTED);
}

public void addTag(String tag) {
tags.add(tag);
Expand Down

0 comments on commit e17a149

Please sign in to comment.