]> git.mxchange.org Git - juser-lib.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Sat, 3 Jun 2017 16:23:46 +0000 (18:23 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 3 Jun 2017 16:23:54 +0000 (18:23 +0200)
- remote interface for resending confirmation link is now generic
- updated copyright
- updated jar(s)

Signed-off-by: Roland Häder <roland@mxchange.org>
lib/juser-core.jar
src/org/mxchange/jusercore/model/email_address/UserEmailChangeSessionBeanRemote.java
src/org/mxchange/jusercore/model/login/UserLoginSessionBeanRemote.java
src/org/mxchange/jusercore/model/register/UserRegistrationSessionBeanRemote.java
src/org/mxchange/jusercore/model/resendlink/ResendLinkSessionBeanRemote.java [new file with mode: 0644]
src/org/mxchange/jusercore/model/user/AdminUserSessionBeanRemote.java
src/org/mxchange/jusercore/model/user/UserSessionBeanRemote.java
src/org/mxchange/jusercore/model/user/password_history/UserPasswordHistorySessionBeanRemote.java

index aa8a72393fba606d8e39c915068e9ea7ca5faf74..fd411f914c67a74da6daa0cce6a4534883b0b9ca 100644 (file)
Binary files a/lib/juser-core.jar and b/lib/juser-core.jar differ
index 7070ccfd07f75da44c1edeeb001d6e9d33fecab1..b53fdae7ddbdf66bde78924f6cd1a7d8c0d15f02 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 157ff31ba28b4e531feff24ecea2603a6370856a..c1ad53c4989791f9afe0b309fe23189e7858b62b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 0bc78a9383dde339aeca2724b24678f2009e6f9d..e701d29eb00c2abf86d95e6ca1d60f84bab84091 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
diff --git a/src/org/mxchange/jusercore/model/resendlink/ResendLinkSessionBeanRemote.java b/src/org/mxchange/jusercore/model/resendlink/ResendLinkSessionBeanRemote.java
new file mode 100644 (file)
index 0000000..ba236c1
--- /dev/null
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2016, 2017 Roland Häder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.model.resendlink;
+
+import java.io.Serializable;
+import java.util.Locale;
+import javax.ejb.Remote;
+import org.mxchange.jusercore.exceptions.UserNotFoundException;
+import org.mxchange.jusercore.exceptions.UserStatusConfirmedException;
+import org.mxchange.jusercore.exceptions.UserStatusLockedException;
+import org.mxchange.jusercore.model.user.User;
+
+/**
+ * A remote interface for resending confirmation link.
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+@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
+        *
+        * @throws UserNotFoundException If the user's account was not found
+        * @throws UserStatusLockedException If the user's account is locked
+        * @throws UserStatusConfirmedException If the user's account is already
+        * confirmed
+        */
+       void resendConfirmationLink (final User user, final Locale locale, final String baseUrl) throws UserNotFoundException, UserStatusLockedException, UserStatusConfirmedException;
+
+}
index c921db0301e8752305a0d9bd33cfb3c7386bce54..c19070d07af7e5dd924794f95fecd0452fdf8492 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 395615043ef29d2b903c2f63d54bf36980c15665..f59066162f6e5a71210873f3d045d9fea9564e01 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 3ff58f8ff8ecd15be388553f97612f4666ed2507..9ecce093ddb548470d5b9c70e81a096afb453a20 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Häder
+ * Copyright (C) 2016, 2017 Roland Häder
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by