added value to claim

pull/708/merge
Justin Richer 2015-03-17 18:57:35 -04:00
parent 2aadb09f49
commit 1393251da9
2 changed files with 17 additions and 1 deletions

View File

@ -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;
}
}

View File

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