Browse Source

added value to claim

pull/708/merge
Justin Richer 10 years ago
parent
commit
1393251da9
  1. 15
      openid-connect-common/src/main/java/org/mitre/uma/model/Claim.java
  2. 1
      openid-connect-server-webapp/src/main/resources/db/tables/hsql_database_tables.sql

15
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<String> claimTokenFormat;
private Set<String> issuer;
@ -144,4 +145,18 @@ public class Claim {
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;
}
}

1
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
);

Loading…
Cancel
Save