Skip to content

Commit

Permalink
fix: adjust beans and schema #1107 (#1248)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgomer2001 authored Apr 22, 2022
1 parent cde3fb1 commit 369129d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ public class Fido2Entry extends BaseEntry {
@AttributeName(name = "jansCodeChallenge")
private String challange;

@AttributeName(name = "jansCodeChallengeHash")
private String challangeHash;

@AttributeName(name = "creationDate")
private Date creationDate;

Expand Down Expand Up @@ -69,14 +66,6 @@ public void setChallange(String challange) {
this.challange = challange;
}

public String getChallangeHash() {
return challangeHash;
}

public void setChallangeHash(String challangeHash) {
this.challangeHash = challangeHash;
}

public Date getCreationDate() {
return creationDate;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ public class Fido2RegistrationEntry extends Fido2Entry implements Serializable {
@AttributeName(name = "jansDeviceNotificationConf")
private String deviceNotificationConf;

@AttributeName(name = "jansCodeChallengeHash")
private String challangeHash;

public Fido2RegistrationEntry() {
}

Expand Down Expand Up @@ -101,6 +104,14 @@ public void setDisplayName(String displayName) {
this.displayName = displayName;
}

public String getChallangeHash() {
return challangeHash;
}

public void setChallangeHash(String challangeHash) {
this.challangeHash = challangeHash;
}

@Override
public String toString() {
StringBuilder builder = new StringBuilder();
Expand Down
11 changes: 0 additions & 11 deletions jans-linux-setup/jans_setup/static/rdbm/sql_data_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -736,17 +736,6 @@
"type": "STRING(MAX)"
}
},
"jansCodeChallengeHash": {
"mysql": {
"type": "TEXT"
},
"pgsql": {
"type": "TEXT"
},
"spanner": {
"type": "STRING(MAX)"
}
},
"mobile": {
"mysql": {
"type": "JSON"
Expand Down

0 comments on commit 369129d

Please sign in to comment.