added value to claim

pull/708/merge
Justin Richer 10 years ago
parent 2aadb09f49
commit 1393251da9

@ -43,6 +43,7 @@ public class Claim {
private String name; private String name;
private String friendlyName; private String friendlyName;
private String claimType; private String claimType;
private String value;
private Set<String> claimTokenFormat; private Set<String> claimTokenFormat;
private Set<String> issuer; private Set<String> issuer;
@ -144,4 +145,18 @@ public class Claim {
this.issuer = 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;
}
} }

@ -252,6 +252,7 @@ CREATE TABLE IF NOT EXISTS claim (
name VARCHAR(256), name VARCHAR(256),
friendly_name VARCHAR(1024), friendly_name VARCHAR(1024),
claim_type VARCHAR(1024), claim_type VARCHAR(1024),
claim_value VARCHAR(1024),
resource_set_id BIGINT, resource_set_id BIGINT,
permission_id BIGINT permission_id BIGINT
); );

Loading…
Cancel
Save