/**
* User locale
*/
- @Column(name = "user_locale")
+ @Column (name = "user_locale")
private Locale userLocale;
+ /**
+ * Whether the user must change password after login
+ */
+ @Column (name = "user_must_change_password")
+ private Boolean userMustChangePassword;
+
/**
* User name
*/
this.userLocale = userLocale;
}
+ @Override
+ public Boolean getUserMustChangePassword () {
+ return this.userMustChangePassword;
+ }
+
+ @Override
+ public void setUserMustChangePassword (final Boolean userMustChangePassword) {
+ this.userMustChangePassword = userMustChangePassword;
+ }
+
@Override
public String getUserName () {
return this.userName;
*/
void setUserLocale (final Locale userLocale);
+ /**
+ * Getter for flag if user needs to change password
+ * <p>
+ * @return Flag if user needs to change password
+ */
+ Boolean getUserMustChangePassword ();
+
+ /**
+ * Setter for flag if user needs to change password
+ * <p>
+ * @param userMustChangePassword Flag if user needs to change password
+ */
+ void setUserMustChangePassword (final Boolean userMustChangePassword);
+
@Override
boolean equals (final Object object);