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 files16

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

extension/csw/core/src/main/java/org/geoserver/csw/response/SchemaComponentDelegate.java

Java · 1,109 bytes
/* (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.csw.response;

import java.io.IOException;
import java.io.Writer;
import net.opengis.cat.csw20.DescribeRecordType;
import org.opengis.feature.type.AttributeDescriptor;

/**
 * Builds a portion of the DescribeRecord output, writing on the output a csw:SchemaComponent
 * section for the DescribeRecord response
 *
 * @author Andrea Aime - GeoSolutions
 */
public interface SchemaComponentDelegate {

    /** Tests whether this delegate can write the XSD for the specified schema, or not */
    public boolean canHandle(AttributeDescriptor descriptor);

    /**
     * Write on the output stream the csw:SchemaComponent section, assuming the
     * <csw:DescribeRecordResponse> has already been written out by the caller
     */
    public void writeSchemaComponent(
            DescribeRecordType request, Writer writer, AttributeDescriptor descriptor)
            throws IOException;
}