Package org.geoserver.web.security

Examples of org.geoserver.web.security.RolesFormComponent


        });
        setOutputMarkupId(true);
        form.add(layer = new DropDownChoice("layer", getLayerNames(rule.getWorkspace())));
        layer.setOutputMarkupId(true);
        form.add(accessMode = new DropDownChoice("accessMode", MODES, new AccessModeRenderer()));
        form.add(rolesForComponent = new RolesFormComponent("roles", new RolesModel(rule), form,
                true));

        // build the submit/cancel
        form.add(new BookmarkablePageLink("cancel", DataAccessRulePage.class));
        form.add(saveLink());
View Full Code Here


        form.add(username);
        PasswordTextField pw1 = new PasswordTextField("password").setResetPassword(false);
        PasswordTextField pw2 = new PasswordTextField("confirmPassword").setResetPassword(false);
        form.add(pw1);
        form.add(pw2);
        form.add(new RolesFormComponent("roles", new PropertyModel(userModel, "authorities"), form, false));
       
        // build the submit/cancel
        form.add(new BookmarkablePageLink("cancel", UserPage.class));
        form.add(saveLink());
       
View Full Code Here

        });
        setOutputMarkupId(true);
        form.add(method = new DropDownChoice("method", getMethod(rule.getService())));
        method.setOutputMarkupId(true);

        form.add(rolesForComponent = new RolesFormComponent("roles", new RolesModel(rule), form,
                true));

        // build the submit/cancel
        form.add(new BookmarkablePageLink("cancel", ServiceAccessRulePage.class));
        form.add(saveLink());
View Full Code Here

        });
        setOutputMarkupId(true);
        form.add(method = new DropDownChoice("method", getMethod(rule.getService())));
        method.setOutputMarkupId(true);

        form.add(rolesForComponent = new RolesFormComponent("roles", new RolesModel(rule), form,
                true));

        // build the submit/cancel
        form.add(new BookmarkablePageLink("cancel", ServiceAccessRulePage.class));
        form.add(saveLink());
View Full Code Here

        form.add(username);
        PasswordTextField pw1 = new PasswordTextField("password").setResetPassword(false);
        PasswordTextField pw2 = new PasswordTextField("confirmPassword").setResetPassword(false);
        form.add(pw1);
        form.add(pw2);
        form.add(new RolesFormComponent("roles", new PropertyModel(userModel, "authorities"), form, false));
       
        // build the submit/cancel
        form.add(new BookmarkablePageLink("cancel", UserPage.class));
        form.add(saveLink());
       
View Full Code Here

        });
        setOutputMarkupId(true);
        form.add(layer = new DropDownChoice("layer", getLayerNames(rule.getWorkspace())));
        layer.setOutputMarkupId(true);
        form.add(accessMode = new DropDownChoice("accessMode", MODES, new AccessModeRenderer()));
        form.add(rolesForComponent = new RolesFormComponent("roles", new RolesModel(rule), form,
                true));

        // build the submit/cancel
        form.add(new BookmarkablePageLink("cancel", DataAccessRulePage.class));
        form.add(saveLink());
View Full Code Here

TOP

Related Classes of org.geoserver.web.security.RolesFormComponent

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.