]> git.mxchange.org Git - addressbook-mailer-ejb.git/blobdiff - src/java/org/mxchange/jusercore/model/login/AddressbookUserLoginSessionBean.java
Please cherry-pick:
[addressbook-mailer-ejb.git] / src / java / org / mxchange / jusercore / model / login / AddressbookUserLoginSessionBean.java
index 5094647c53ef835840832b013875ebfdc399ed17..c33ba5fe091b011d5dfd336e8d3213007cebe2fc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 Roland Haeder
+ * 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 Affero General Public License as
@@ -34,7 +34,7 @@ import org.mxchange.jusercore.model.user.status.UserAccountStatus;
 /**
  * A session EJB for user logins
  * <p>
- * @author Roland Haeder<roland@mxchange.org>
+ * @author Roland Häder<roland@mxchange.org>
  */
 @Stateless (name = "login", description = "A bean handling the user login for Addressbook project")
 public class AddressbookUserLoginSessionBean extends BaseDatabaseBean implements UserLoginSessionBeanRemote {
@@ -56,6 +56,14 @@ public class AddressbookUserLoginSessionBean extends BaseDatabaseBean implements
        @EJB
        private UserSessionBeanRemote userBean;
 
+       /**
+        * Default constructor
+        */
+       public AddressbookUserLoginSessionBean () {
+               // Call super constructor
+               super();
+       }
+
        @Override
        public User validateUserAccountStatus (final LoginContainer container) throws UserNotFoundException, UserStatusLockedException, UserStatusUnconfirmedException, UserPasswordMismatchException {
                // Trace message
@@ -117,7 +125,7 @@ public class AddressbookUserLoginSessionBean extends BaseDatabaseBean implements
         * second is the from database.
         * <p>
         * @param container Container instance holding the user instance and
-        * unencrypted password
+        * clear-text password
         * @param updatedUser Updated user instance found for given user name
         * <p>
         * @return Whether the password matches