]> git.mxchange.org Git - addressbook-lib.git/blobdiff - src/org/mxchange/addressbook/beans/resendlink/ResendLinkSessionBeanRemote.java
no redirect target needed here and makes no sense, too
[addressbook-lib.git] / src / org / mxchange / addressbook / beans / resendlink / ResendLinkSessionBeanRemote.java
index 04938b9f29127b5455d4f90b0fed7f9ea882b646..a95f5a1a81f972028c58744d152953c9f0f25951 100644 (file)
@@ -17,7 +17,9 @@
 package org.mxchange.addressbook.beans.resendlink;
 
 import java.io.Serializable;
+import java.util.Locale;
 import javax.ejb.Remote;
+import org.mxchange.jusercore.model.user.User;
 
 /**
  * A remote interface for resending confirmation link.
@@ -27,4 +29,16 @@ import javax.ejb.Remote;
 @Remote
 public interface ResendLinkSessionBeanRemote extends Serializable {
 
+       /**
+        * Send confirmation link out to given user and returns a proper redirection
+        * target. The user's account status should be UNCONFIRMED and should
+        * contain a confirmation key. After confirmation the account's status
+        * should be changed to CONFIRMED and the key removed (nulled).
+        * <p>
+        * @param user User instance
+        * @param locale Locale instance
+        * @param baseUrl Base URL
+        */
+       void resendConfirmationLink (final User user, final Locale locale, final String baseUrl);
+
 }