diff --git a/openid-connect-common/src/main/java/org/mitre/uma/model/Claim.java b/openid-connect-common/src/main/java/org/mitre/uma/model/Claim.java index ab36908c2..db256b2e9 100644 --- a/openid-connect-common/src/main/java/org/mitre/uma/model/Claim.java +++ b/openid-connect-common/src/main/java/org/mitre/uma/model/Claim.java @@ -43,6 +43,7 @@ public class Claim { private String name; private String friendlyName; private String claimType; + private String value; private Set claimTokenFormat; private Set issuer; @@ -143,5 +144,19 @@ public class Claim { public void setIssuer(Set issuer) { this.issuer = issuer; } - + + /** + * @return the value + */ + @Basic + @Column(name = "claim_value") + public String getValue() { + return value; + } + /** + * @param value the value to set + */ + public void setValue(String value) { + this.value = value; + } } diff --git a/openid-connect-server-webapp/src/main/resources/db/tables/hsql_database_tables.sql b/openid-connect-server-webapp/src/main/resources/db/tables/hsql_database_tables.sql index 9be43707d..82ac4b286 100644 --- a/openid-connect-server-webapp/src/main/resources/db/tables/hsql_database_tables.sql +++ b/openid-connect-server-webapp/src/main/resources/db/tables/hsql_database_tables.sql @@ -252,6 +252,7 @@ CREATE TABLE IF NOT EXISTS claim ( name VARCHAR(256), friendly_name VARCHAR(1024), claim_type VARCHAR(1024), + claim_value VARCHAR(1024), resource_set_id BIGINT, permission_id BIGINT );