Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: adjust beans and schema #1107 #1248

Merged
merged 1 commit into from
Apr 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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