]> git.mxchange.org Git - addressbook-war.git/commitdiff
added log message
authorRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 15:10:54 +0000 (17:10 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 Oct 2015 15:10:54 +0000 (17:10 +0200)
src/java/org/mxchange/addressbook/beans/login/UserLoginWebBean.java

index 580b57c31a2bbe348a0c287a48e3b5171cddd67e..ffdf341bfe33b52c4632ee541bd98033420429a4 100644 (file)
@@ -16,6 +16,7 @@
  */
 package org.mxchange.addressbook.beans.login;
 
+import java.text.MessageFormat;
 import java.util.Objects;
 import javax.enterprise.context.SessionScoped;
 import javax.faces.view.facelets.FaceletException;
@@ -135,6 +136,9 @@ public class UserLoginWebBean implements UserLoginWebController {
 
        @Override
        public boolean isUserLoggedIn () {
+               // Trace message
+               System.out.println(MessageFormat.format("UserLoginWebBean:isUserLoggedIn: this.loggedInUser={0},this.templateType={1} - CALLED!", this.getLoggedInUser(), this.getTemplateType()));
+
                // Compare instance
                return ((this.getLoggedInUser() instanceof User) && (Objects.equals(this.getLoggedInUser().getUserAccountStatus(), UserAccountStatus.CONFIRMED)));
        }