*/
private static final long serialVersionUID = 47_828_986_719_691_592L;
+ /**
+ * Current password
+ */
+ private String currentPassword;
+
/**
* Logged-in user instance
*/
private User loggedInUser;
/**
- * Reemote register session bean
+ * Remote register session bean
*/
private UserLoginSessionBeanRemote loginBean;
}
}
+ @Override
+ public String getCurrentPassword () {
+ return currentPassword;
+ }
+
+ @Override
+ public void setCurrentPassword (final String currentPassword) {
+ this.currentPassword = currentPassword;
+ }
+
@Override
public User getLoggedInUser () {
return this.loggedInUser;
* @return Whether the currently logged-in user is invisible
*/
boolean isInvisible ();
+
+ /**
+ * Setter for current password (clear text)
+ * <p>
+ * @param currentPassword Current password
+ */
+ void setCurrentPassword (final String currentPassword);
+
+ /**
+ * Getter for current password (clear text)
+ * <p>
+ * @return Current password
+ */
+ String getCurrentPassword ();
}
// Re-initialize list
this.visibleUserList = this.userBean.allMemberPublicVisibleUsers();
+ // Copy all data to this bean
+ this.copyUser(event.getUser());
+
// Trace message
System.out.println(MessageFormat.format("UserWebBean:afterUserLogin: this.visibleUserList.size()={0} - EXIT!", this.visibleUserList.size())); //NOI18N
}