Examples of updateLastLogin()


Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

                try
                {
                    user = JetspeedSecurity.getUser(userName);
                    data.setUser(user);
                    user.setHasLoggedIn(new Boolean(true));
                    user.updateLastLogin();
                    data.save();
                    if (JetspeedSecurityCache.getAcl(userName) == null)
                    {
                        JetspeedSecurityCache.load(userName);
                    }
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

                    try
                    {
                        user = JetspeedSecurity.getUser(userName);
                        data.setUser(user);
                        user.setHasLoggedIn(Boolean.TRUE);
                        user.updateLastLogin();
                        data.save();
                        if (JetspeedSecurityCache.getAcl(userName) == null)
                        {
                            JetspeedSecurityCache.load(userName);
                        }
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

        user.setHasLoggedIn(new Boolean(true));

        // Set the last_login date in the database.
        try
        {
            user.updateLastLogin();
            putUserIntoContext(user);
            if (cachingEnable)
            {
                JetspeedSecurityCache.load(username);
            }
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

                user = JetspeedSecurity.getUser(userName);
                if (user.getPerm("logincookie","").equals(loginCookieValue)) {
                  //cookie is present and correct - log the user in
                  data.setUser(user);
                  user.setHasLoggedIn(new Boolean(true));
                  user.updateLastLogin();
                  data.save();
                }
              } catch (LoginException noSuchUser) {
                //user not found - ignore it - they will not be logged in automatically
        } catch (org.apache.jetspeed.services.security.UnknownUserException unknownUser) {
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

        user.setTemp( "sessionPassword", password );

        // Set the last_login date in the database.
        try
        {
            user.updateLastLogin();
            putUserIntoContext(user);

            if (cachingEnable)
            {
                JetspeedSecurityCache.load(username);
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

                try
                {
                    user = JetspeedSecurity.getUser(userName);
                    data.setUser(user);
                    user.setHasLoggedIn(new Boolean(true));
                    user.updateLastLogin();
                    data.save();
                    if (JetspeedSecurityCache.getAcl(userName) == null)
                    {
                        JetspeedSecurityCache.load(userName);
                    }
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

        user.setTemp( "sessionPassword", password );

        // Set the last_login date in the database.
        try
        {
            user.updateLastLogin();
            putUserIntoContext(user);

            if (cachingEnable)
            {
                JetspeedSecurityCache.load(username);
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

        user.setHasLoggedIn(new Boolean(true));

        // Set the last_login date in the database.
        try
        {
            user.updateLastLogin();
            putUserIntoContext(user);
            if (cachingEnable)
            {
                JetspeedSecurityCache.load(username);
            }
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

                user = JetspeedSecurity.getUser(userName);
                if (user.getPerm("logincookie","").equals(loginCookieValue)) {
                  //cookie is present and correct - log the user in
                  data.setUser(user);
                  user.setHasLoggedIn(new Boolean(true));
                  user.updateLastLogin();
                  data.save();
                }
              } catch (LoginException noSuchUser) {
                //user not found - ignore it - they will not be logged in automatically
        } catch (org.apache.jetspeed.services.security.UnknownUserException unknownUser) {
View Full Code Here

Examples of org.apache.jetspeed.om.security.JetspeedUser.updateLastLogin()

                user = JetspeedSecurity.getUser(userName);
                if (user.getPerm("logincookie","").equals(loginCookieValue)) {
                  //cookie is present and correct - log the user in
                  data.setUser(user);
                  user.setHasLoggedIn(new Boolean(true));
                  user.updateLastLogin();
                  data.save();
                }
              } catch (LoginException noSuchUser) {
                //user not found - ignore it - they will not be logged in automatically
              }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.