]> git.mxchange.org Git - juser-login-core.git/blobdiff - src/org/mxchange/jusercore/model/user/UserUtils.java
Removed dependency on jcore.jar as this is not for JavaEE applications
[juser-login-core.git] / src / org / mxchange / jusercore / model / user / UserUtils.java
index 82a041b74892f175f4d72d71af48cde69e9f9871..1cbb94df09fea2ce6c0fa94a80a9ceaf1c53b35b 100644 (file)
  */
 package org.mxchange.jusercore.model.user;
 
+import java.io.Serializable;
 import java.security.SecureRandom;
 import java.text.MessageFormat;
 import java.util.Random;
 import org.apache.commons.codec.digest.Crypt;
-import org.mxchange.jcore.BaseFrameworkSystem;
 import org.mxchange.jusercore.container.login.LoginContainer;
 import org.mxchange.jusercore.container.login.UserLoginContainer;
 
@@ -29,7 +29,7 @@ import org.mxchange.jusercore.container.login.UserLoginContainer;
  * <p>
  * @author Roland Haeder<roland@mxchange.org>
  */
-public class UserUtils extends BaseFrameworkSystem {
+public class UserUtils implements Serializable {
 
        /**
         * Password alphabet
@@ -46,6 +46,11 @@ public class UserUtils extends BaseFrameworkSystem {
         */
        private static final Random RANDOM_NUMBER_GENERATOR;
 
+       /**
+        * Serial number
+        */
+       private static final long serialVersionUID = 18_356_847_120_972L;
+
        /**
         * Static initializer
         */
@@ -123,7 +128,7 @@ public class UserUtils extends BaseFrameworkSystem {
        /**
         * Checks if password from container matches the updatedUser's password
         * <p>
-        * @param container   Container holding user instance and unencrypted password
+        * @param container Container holding user instance and unencrypted password
         * @param updatedUser Updated user instance from database
         * <p>
         * @return Whether the password matches
@@ -157,7 +162,7 @@ public class UserUtils extends BaseFrameworkSystem {
        /**
         * Checks if password from container matches with from user instance.
         * <p>
-        * @param container   Container holding user instance and unencrypted password
+        * @param container Container holding user instance and unencrypted password
         * <p>
         * @return Whether it maches
         */