Ignore:
Timestamp:
2015-05-12T21:47:35+12:00 (9 years ago)
Author:
ak19
Message:

First part of commit for ensuring the user is authenticated when running the scripts used by the online metadata editor. Running metaserver, BuildAndActivate and other GS2Construct.java commands should not be possible from a web browser.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/build/CollectionConstructor.java

    r25538 r29869  
    2828    /** Stores the name of the manifest file (if one is needed) */
    2929    protected String manifest_file = null;
     30    /** The URL params constructed as a query string, representing the CGI QUERY_STRING to */
     31    protected String query_string = null;
    3032
    3133    public CollectionConstructor(String name)
     
    6466    {
    6567        this.collection_name = coll_name;
     68    }
     69
     70        public void setQueryString(String querystring)
     71    {
     72        this.query_string = querystring;
    6673    }
    6774
Note: See TracChangeset for help on using the changeset viewer.