Ignore:
Timestamp:
2010-08-08T13:56:03+02:00 (11 years ago)
Author:
stoecker
Message:

fix #5244 - port to signpost 1.2 - patch by dpaleino

File:
1 edited

Legend:

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

    r3083 r3425  
    66import oauth.signpost.basic.DefaultOAuthConsumer;
    77import oauth.signpost.basic.DefaultOAuthProvider;
    8 import oauth.signpost.signature.SignatureMethod;
     8import oauth.signpost.signature.HmacSha1MessageSigner;
    99
    1010import org.openstreetmap.josm.data.Preferences;
     
    134134     */
    135135    public OAuthConsumer buildConsumer() {
    136         return new DefaultOAuthConsumer(consumerKey, consumerSecret, SignatureMethod.HMAC_SHA1);
     136        OAuthConsumer consumer = new DefaultOAuthConsumer(consumerKey, consumerSecret);
     137        return consumer;
    137138    }
    138139
     
    147148        CheckParameterUtil.ensureParameterNotNull(consumer, "consumer");
    148149        return new DefaultOAuthProvider(
    149                 consumer,
    150150                requestTokenUrl,
    151151                accessTokenUrl,
Note: See TracChangeset for help on using the changeset viewer.