From a1a4cbca62afba386b0e268a8a1d7eed3f089bb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 13 May 2016 14:04:03 +0200 Subject: [PATCH] added business method generateConfirmationKey() --- .../register/UserRegistrationSessionBeanRemote.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java index 90927fd..354845e 100644 --- a/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java +++ b/src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java @@ -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". + *

+ * @param user User instance + *

+ * @return Non-existing confirmation key + */ + String generateConfirmationKey (User user); + /** * Registers given user data, if not yet found *

-- 2.39.5