Changeset 6067 in josm


Ignore:
Timestamp:
2013-07-16T21:16:36+02:00 (11 years ago)
Author:
stoecker
Message:

#see 8875 - add new key (disabled for now) - TODO: should be used as default for any new OAuth request

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java

    r5422 r6067  
    2121
    2222    /**
    23      * The default JOSM OAuth consumer key.
    24      */
    25     static public final String DEFAULT_JOSM_CONSUMER_KEY = "AdCRxTpvnbmfV8aPqrTLyA";
    26     /**
    27      * The default JOSM OAuth consumer secret.
    28      */
    29     static public final String DEFAULT_JOSM_CONSUMER_SECRET = "XmYOiGY9hApytcBC3xCec3e28QBqOWz5g6DSb5UpE";
     23     * The default JOSM OAuth consumer key (created by user josmeditor).
     24     */
     25    static public final String DEFAULT_JOSM_CONSUMER_KEY = "F7zPYlVCqE2BUH9Hr4SsWZSOnrKjpug1EgqkbsSb";
     26    /**
     27     * The default JOSM OAuth consumer secret (created by user josmeditor).
     28     */
     29    static public final String DEFAULT_JOSM_CONSUMER_SECRET = "rIkjpPcBNkMQxrqzcOvOC4RRuYupYr7k8mfP13H5";
     30    /**
     31     * The old default JOSM OAuth consumer key.
     32     */
     33    static public final String OLD_JOSM_CONSUMER_KEY = "AdCRxTpvnbmfV8aPqrTLyA";
     34    /**
     35     * The old default JOSM OAuth consumer secret.
     36     */
     37    static public final String OLD_JOSM_CONSUMER_SECRET = "XmYOiGY9hApytcBC3xCec3e28QBqOWz5g6DSb5UpE";
    3038    /**
    3139     * The default OSM OAuth request token URL.
     
    6371    static public OAuthParameters createDefault(String apiUrl) {
    6472        OAuthParameters parameters = new OAuthParameters();
    65         parameters.setConsumerKey(DEFAULT_JOSM_CONSUMER_KEY);
    66         parameters.setConsumerSecret(DEFAULT_JOSM_CONSUMER_SECRET);
     73        parameters.setConsumerKey(OLD_JOSM_CONSUMER_KEY);
     74        parameters.setConsumerSecret(OLD_JOSM_CONSUMER_SECRET);
    6775        if (apiUrl == null || apiUrl.isEmpty() || apiUrl.equals(OsmApi.DEFAULT_API_URL)) {
    6876            parameters.setRequestTokenUrl(DEFAULT_REQUEST_TOKEN_URL);
Note: See TracChangeset for help on using the changeset viewer.