From: Roland Häder Date: Fri, 13 May 2016 12:04:03 +0000 (+0200) Subject: added business method generateConfirmationKey() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a1a4cbca62afba386b0e268a8a1d7eed3f089bb7;p=juser-activity-lib.git added business method generateConfirmationKey() --- 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 *