]> git.mxchange.org Git - juser-lib.git/commitdiff
added business method generateConfirmationKey()
authorRoland Häder <roland@mxchange.org>
Fri, 13 May 2016 12:04:03 +0000 (14:04 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 13 May 2016 12:04:03 +0000 (14:04 +0200)
src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java

index 90927fdfc1fb4307a6a6b4d509133eaee60408e4..354845e0b4fd1fadd03787e9b110b6d4f7be57c0 100644 (file)
@@ -30,6 +30,17 @@ import org.mxchange.jusercore.model.user.User;
 @Remote
 public interface UserRegistrationSessionBeanRemote extends Serializable {
 
+       /**
+        * Generates a non-existing confirmation key for given user instance. The
+        * user instance is being used as entropy source to make the key more harder
+        * to "guess".
+        * <p>
+        * @param user User instance
+        * <p>
+        * @return Non-existing confirmation key
+        */
+       String generateConfirmationKey (User user);
+
        /**
         * Registers given user data, if not yet found
         * <p>