Exploit database

GH-9a017fa45abc7e1f8f6ba6e1285cae54

iplayforsg/cve-2023-51444

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-51444

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files17

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

extension/geofence-server/src/main/java/org/geoserver/geofence/web/LayerAttributeModel.java

Java · 1,226 bytes
/* (c) 2017 Open Source Geospatial Foundation - all rights reserved
 * This code is licensed under the GPL 2.0 license, available at the root
 * application directory.
 */
package org.geoserver.geofence.web;

import java.util.Arrays;
import java.util.List;
import org.geoserver.geofence.core.model.LayerAttribute;
import org.geoserver.web.wicket.GeoServerDataProvider;

public class LayerAttributeModel extends GeoServerDataProvider<LayerAttribute> {

    private static final long serialVersionUID = -7904736484716616708L;

    public static final Property<LayerAttribute> NAME = new BeanProperty<>("name", "name");

    public static final Property<LayerAttribute> DATATYPE =
            new BeanProperty<>("datatype", "datatype");

    public static final Property<LayerAttribute> ACCESS = new BeanProperty<>("access", "access");

    private List<LayerAttribute> attributes;

    public LayerAttributeModel(List<LayerAttribute> attributes) {
        this.attributes = attributes;
    }

    @Override
    protected List<Property<LayerAttribute>> getProperties() {
        return Arrays.asList(NAME, DATATYPE, ACCESS);
    }

    @Override
    protected List<LayerAttribute> getItems() {
        return attributes;
    }
}