Package org.apache.commons.logging

Examples of org.apache.commons.logging.Log.trace()


                SessionUtils.removeList(session, Constants.PENDING_USERS_SES_ATTR);
            } else if (spiderForm.isAddClicked()) {
                log.trace("adding to pending user list");
                SessionUtils.addToList(session, Constants.PENDING_USERS_SES_ATTR, addForm.getAvailableUsers());
            } else if (spiderForm.isRemoveClicked()) {
                log.trace("removing from pending user list");
                SessionUtils.removeFromList(session, Constants.PENDING_USERS_SES_ATTR, addForm.getPendingUsers());
            }

            return forward;
        }
View Full Code Here


        // if the remove button was clicked, we are coming from
        // the alerts list page and just want to continue
        // processing ...
        if ((forward != null) && !forward.getName().equals(RetCodeConstants.REMOVE_URL)) {
            log.trace("returning " + forward);

            // if there is no resourceId -- go to dashboard on cancel
            if (forward.getName().equals(RetCodeConstants.CANCEL_URL) && (resourceId == null)) {
                return returnNoResource(request, mapping);
            }
View Full Code Here

            ActionForward forward = checkSubmit(request, mapping, form, forwardParams);
            if (forward != null) {
                BaseValidatorForm spiderForm = (BaseValidatorForm) form;

                if (spiderForm.isCancelClicked() || spiderForm.isResetClicked()) {
                    log.trace("removing pending/removed resources list");
                    SessionUtils.removeList(session, Constants.PENDING_RESOURCES_SES_ATTR);
                } else if (spiderForm.isAddClicked()) {
                    log.trace("adding to pending resources list");
                    SessionUtils.addToList(session, Constants.PENDING_RESOURCES_SES_ATTR, addForm
                        .getAvailableResources());
View Full Code Here

                if (spiderForm.isCancelClicked() || spiderForm.isResetClicked()) {
                    log.trace("removing pending/removed resources list");
                    SessionUtils.removeList(session, Constants.PENDING_RESOURCES_SES_ATTR);
                } else if (spiderForm.isAddClicked()) {
                    log.trace("adding to pending resources list");
                    SessionUtils.addToList(session, Constants.PENDING_RESOURCES_SES_ATTR, addForm
                        .getAvailableResources());
                } else if (spiderForm.isRemoveClicked()) {
                    log.trace("removing from pending resources list");
                    SessionUtils.removeFromList(session, Constants.PENDING_RESOURCES_SES_ATTR, addForm
View Full Code Here

                } else if (spiderForm.isAddClicked()) {
                    log.trace("adding to pending resources list");
                    SessionUtils.addToList(session, Constants.PENDING_RESOURCES_SES_ATTR, addForm
                        .getAvailableResources());
                } else if (spiderForm.isRemoveClicked()) {
                    log.trace("removing from pending resources list");
                    SessionUtils.removeFromList(session, Constants.PENDING_RESOURCES_SES_ATTR, addForm
                        .getPendingResources());
                }

                return forward;
View Full Code Here

            ResourceGroupManagerLocal groupManager = LookupUtil.getResourceGroupManager();

            Subject user = RequestUtils.getSubject(request);

            log.trace("getting pending resource list");
            List<String> pendingResourceIdStrings = SessionUtils.getListAsListStr(request.getSession(),
                Constants.PENDING_RESOURCES_SES_ATTR);

            // Bug#7258; don't do anything if the user does not add any
            // members to the group.
View Full Code Here

            groupManager.addResourcesToGroup(user, groupId, pendingResourceIds);

            // but how does this get removed when the user
            // navigates away instead of concluding this workflow
            log.trace("removing pending user list");
            SessionUtils.removeList(session, Constants.PENDING_RESOURCES_SES_ATTR);

            RequestUtils.setConfirmation(request, "resource.group.inventory.confirm.AddResources");

            return returnSuccess(request, mapping, forwardParams);
View Full Code Here

            ResourceGroupManagerLocal groupManager = LookupUtil.getResourceGroupManager();
            ResourceGroup group = groupManager.getResourceGroupById(subject, groupId, null);
            groupForm.updateResourceGroup(group);
            groupManager.updateResourceGroup(subject, group);

            log.trace("saving group [" + group.getName() + "]" + " with attributes " + groupForm);

            RequestUtils.setConfirmation(request, "resource.group.inventory.confirm.EditGeneralProperties");
            return returnSuccess(request, mapping, forwardParams, BaseAction.YES_RETURN_PATH);
        } catch (ResourceGroupUpdateException rgue) {
            log.debug("group update failed:", rgue);
View Full Code Here

        session.removeAttribute(Constants.PASSWORD_SES_ATTR);

        Subject superuser = subjectManager.getOverlord();

        // create the subject, but don't add a principal since LDAP will handle authentication
        log.trace("registering new LDAP-authenticated subject [" + newSubject.getName() + "]");
        subjectManager.createSubject(superuser, newSubject);

        // nuke the temporary session and establish a new
        // one for this subject.. must be done before pulling the
        // new subject in order to do it with his own credentials
View Full Code Here

        // get the current user and its current page controls
        Subject whoami = RequestUtils.getSubject(request);
        PageControl pcu = WebUtility.getPageControl(request, "u");
        PageControl pcg = WebUtility.getPageControl(request, "g");
        PageControl pcldap = WebUtility.getPageControl(request, "l");
        log.trace("user page control: " + pcu);
        log.trace("group page control: " + pcg);
        log.trace("ldap group page control: " + pcldap);

        //        RoleManagerLocal roleManager = LookupUtil.getRoleManager();
        //        ResourceGroupManagerLocal groupManager = LookupUtil.getResourceGroupManager();
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.