made email_verified nullable, addresses #237
parent
2ef8d16e9c
commit
4698552c2d
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue