From ef505a6a563cdfdab2649f73a78d3c69053aa0c8 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 12 Apr 2016 19:27:59 +0200 Subject: [PATCH] Fixed interface name --- nbproject/faces-config.NavData | 69 +++++++++---------- .../user/JobsAdminUserWebSessionBean.java | 6 +- 2 files changed, 37 insertions(+), 38 deletions(-) diff --git a/nbproject/faces-config.NavData b/nbproject/faces-config.NavData index fde2036a..4fbac893 100644 --- a/nbproject/faces-config.NavData +++ b/nbproject/faces-config.NavData @@ -2,42 +2,41 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java index d78b32d1..5286755d 100644 --- a/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java +++ b/src/java/org/mxchange/jjobs/beans/user/JobsAdminUserWebSessionBean.java @@ -199,7 +199,7 @@ public class JobsAdminUserWebSessionBean implements JobsAdminUserWebSessionContr * Regular user controller */ @Inject - private PizzaUserWebSessionController userController; + private JobsUserWebSessionController userController; /** * Default constructor @@ -318,7 +318,7 @@ public class JobsAdminUserWebSessionBean implements JobsAdminUserWebSessionContr throw new FaceletException(new EmailAddressAlreadyRegisteredException(user)); } else if ((this.getUserPassword().isEmpty()) && (this.getUserPasswordRepeat().isEmpty())) { // Empty password entered, then generate one - password = UserUtils.createRandomPassword(PizzaUserWebSessionController.MINIMUM_PASSWORD_LENGTH); + password = UserUtils.createRandomPassword(JobsUserWebSessionController.MINIMUM_PASSWORD_LENGTH); } else if (!this.isSamePasswordEntered()) { // Both passwords don't match throw new FaceletException(new UserPasswordMismatchException(user)); @@ -329,7 +329,7 @@ public class JobsAdminUserWebSessionBean implements JobsAdminUserWebSessionContr // The password should not be null and at least 5 characters long assert (password != null) : "password is null"; - assert (password.length() >= PizzaUserWebSessionController.MINIMUM_PASSWORD_LENGTH) : "Password is not long enough."; + assert (password.length() >= JobsUserWebSessionController.MINIMUM_PASSWORD_LENGTH) : "Password is not long enough."; // Encrypt password and set it user.setUserEncryptedPassword(UserUtils.encryptPassword(password)); -- 2.39.5