/* (c) 2014 Open Source Geospatial Foundation - all rights reserved
* (c) 2001 - 2013 OpenPlans
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.security.web.role;
import org.apache.wicket.markup.html.form.CheckBox;
import org.apache.wicket.markup.html.form.TextField;
import org.apache.wicket.model.IModel;
import org.geoserver.security.xml.XMLRoleService;
import org.geoserver.security.xml.XMLRoleServiceConfig;
/**
* Configuration panel for {@link XMLRoleService}.
*
* @author Justin Deoliveira, OpenGeo
*/
public class XMLRoleServicePanel extends RoleServicePanel<XMLRoleServiceConfig> {
public XMLRoleServicePanel(String id, IModel<XMLRoleServiceConfig> model) {
super(id, model);
add(new TextField("fileName").setEnabled(isNew()));
add(new CheckBox("validating"));
add(new TextField("checkInterval"));
}
}