Package org.jmanage.webui.forms

Examples of org.jmanage.webui.forms.ConfigureForm


                                    HttpServletRequest request,
                                    HttpServletResponse response)
            throws Exception{
        AccessController.checkAccess(context.getServiceContext(),
                ACL_EDIT_JMANAGE_CONFIG);
        ConfigureForm confgForm = (ConfigureForm)actionForm;
        final JManageProperties jManageProperties = JManageProperties.getInstance();
        final int MAX_LOGIN_ATTEMPTS_ALLOWED =
                Integer.parseInt(jManageProperties.
                    getProperty(JManageProperties.LOGIN_MAX_ATTEMPTS));
           confgForm.setMaxLoginAttempts(MAX_LOGIN_ATTEMPTS_ALLOWED);
           return mapping.findForward(Forwards.SUCCESS);
    }
View Full Code Here


                                 HttpServletResponse response)
            throws Exception{
        AccessController.checkAccess(context.getServiceContext(),
                ACL_EDIT_JMANAGE_CONFIG);
        JManageProperties jmanageProperties = JManageProperties.getInstance();
        ConfigureForm configureForm = (ConfigureForm)actionForm;
        jmanageProperties.storeMaxLoginAttempts(configureForm.getMaxLoginAttempts());
        return mapping.findForward(Forwards.SUCCESS);
    }
View Full Code Here

TOP

Related Classes of org.jmanage.webui.forms.ConfigureForm

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.