made email_verified nullable, addresses #237

pull/263/head
Justin Richer 2012-12-05 16:54:15 -05:00
parent 2ef8d16e9c
commit 4698552c2d
2 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ public class DefaultUserInfo implements UserInfo {
private String picture;
private String website;
private String email;
private boolean emailVerified;
private Boolean emailVerified;
private String gender;
private String zoneinfo;
private String locale;
@ -234,14 +234,14 @@ public class DefaultUserInfo implements UserInfo {
@Override
@Basic
@Column(name="email_verified")
public boolean getEmailVerified() {
public Boolean getEmailVerified() {
return emailVerified;
}
/* (non-Javadoc)
* @see org.mitre.openid.connect.model.UserInfo#setVerified(java.lang.boolean)
*/
@Override
public void setEmailVerified(boolean emailVerified) {
public void setEmailVerified(Boolean emailVerified) {
this.emailVerified = emailVerified;
}
/* (non-Javadoc)

View File

@ -145,12 +145,12 @@ public interface UserInfo {
*/
@Basic
@Column(name="email_verified")
public abstract boolean getEmailVerified();
public abstract Boolean getEmailVerified();
/**
* @param verified the verified to set
*/
public abstract void setEmailVerified(boolean emailVerified);
public abstract void setEmailVerified(Boolean emailVerified);
/**
* @return the gender