+++ /dev/null
-/*
- * 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.juserlogincore.model.login.user;
-
-import java.io.Serializable;
-import javax.ejb.Remote;
-import org.mxchange.jusercore.exceptions.UserNotFoundException;
-import org.mxchange.jusercore.exceptions.UserStatusLockedException;
-import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
-import org.mxchange.jusercore.model.user.User;
-import org.mxchange.juserlogincore.container.login.LoginContainer;
-import org.mxchange.juserlogincore.exceptions.UserPasswordMismatchException;
-
-/**
- * A remote interface for user login
- * <p>
- * @author Roland Häder<roland@mxchange.org>
- */
-@Remote
-public interface UserLoginSessionBeanRemote extends Serializable {
-
- /**
- * Validates if the user is a confirmed account and returns the full user
- * instance
- * <p>
- * @param container Login container holding user instance and clear-text password
- * <p>
- * @return Full confirmed user account
- * <p>
- * @throws org.mxchange.jusercore.exceptions.UserNotFoundException If the
- * user account was not found
- * @throws org.mxchange.jusercore.exceptions.UserStatusLockedException If
- * the user account is locked
- * @throws org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException
- * If the user account is unconfirmed
- * @throws org.mxchange.jusercore.exceptions.UserPasswordMismatchException
- * If the password is not matching
- */
- User validateUserAccountStatus (final LoginContainer container) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException, UserPasswordMismatchException;
-}
--- /dev/null
+/*
+ * 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.juserlogincore.model.user.login;
+
+import java.io.Serializable;
+import javax.ejb.Remote;
+import org.mxchange.jusercore.exceptions.UserNotFoundException;
+import org.mxchange.jusercore.exceptions.UserStatusLockedException;
+import org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException;
+import org.mxchange.jusercore.model.user.User;
+import org.mxchange.juserlogincore.container.login.LoginContainer;
+import org.mxchange.juserlogincore.exceptions.UserPasswordMismatchException;
+
+/**
+ * A remote interface for user login
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+@Remote
+public interface UserLoginSessionBeanRemote extends Serializable {
+
+ /**
+ * Validates if the user is a confirmed account and returns the full user
+ * instance
+ * <p>
+ * @param container Login container holding user instance and clear-text password
+ * <p>
+ * @return Full confirmed user account
+ * <p>
+ * @throws org.mxchange.jusercore.exceptions.UserNotFoundException If the
+ * user account was not found
+ * @throws org.mxchange.jusercore.exceptions.UserStatusLockedException If
+ * the user account is locked
+ * @throws org.mxchange.jusercore.exceptions.UserStatusUnconfirmedException
+ * If the user account is unconfirmed
+ * @throws org.mxchange.jusercore.exceptions.UserPasswordMismatchException
+ * If the password is not matching
+ */
+ User validateUserAccountStatus (final LoginContainer container) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException, UserPasswordMismatchException;
+}