Package org.jboss.portal.identity

Examples of org.jboss.portal.identity.UserStatus


         try
         {
            try
            {

               UserStatus userStatus = getUserStatus(inputPassword);

               // Set the user Status in the request so that the login page can show an error message accordingly
               request.setAttribute("org.jboss.portal.userStatus", userStatus);
              
               if (userStatus == UserStatus.DISABLE)
View Full Code Here


      return false;
   }

   protected UserStatus getUserStatus(final String inputPassword)
   {
      UserStatus result = UserStatus.OK;

      try {
         TransactionManager tm = (TransactionManager)new InitialContext().lookup("java:/TransactionManager");
         UserStatus tmp = (UserStatus)Transactions.required(tm, new Transactions.Runnable()
         {
            public Object run() throws Exception
            {
               try
               {
View Full Code Here

TOP

Related Classes of org.jboss.portal.identity.UserStatus

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.