- Timestamp:
- 2010-08-08T13:56:03+02:00 (14 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.classpath
r3416 r3425 18 18 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 6"/> 19 19 <classpathentry exported="true" kind="con" path="GROOVY_SUPPORT"/> 20 <classpathentry kind="lib" path="lib/signpost-core-1. 1.jar"/>20 <classpathentry kind="lib" path="lib/signpost-core-1.2.1.1.jar"/> 21 21 <classpathentry kind="output" path="bin"/> 22 22 </classpath> -
trunk/build.xml
r3222 r3425 100 100 <!-- All jar files necessary to run only JOSM (no tests) --> 101 101 <zipfileset src="lib/metadata-extractor-2.3.1-nosun.jar" /> 102 <zipfileset src="lib/signpost-core-1. 1.jar" />102 <zipfileset src="lib/signpost-core-1.2.1.1.jar" /> 103 103 </jar> 104 104 </target> -
trunk/src/org/openstreetmap/josm/data/oauth/OAuthParameters.java
r3083 r3425 6 6 import oauth.signpost.basic.DefaultOAuthConsumer; 7 7 import oauth.signpost.basic.DefaultOAuthProvider; 8 import oauth.signpost.signature. SignatureMethod;8 import oauth.signpost.signature.HmacSha1MessageSigner; 9 9 10 10 import org.openstreetmap.josm.data.Preferences; … … 134 134 */ 135 135 public OAuthConsumer buildConsumer() { 136 return new DefaultOAuthConsumer(consumerKey, consumerSecret, SignatureMethod.HMAC_SHA1); 136 OAuthConsumer consumer = new DefaultOAuthConsumer(consumerKey, consumerSecret); 137 return consumer; 137 138 } 138 139 … … 147 148 CheckParameterUtil.ensureParameterNotNull(consumer, "consumer"); 148 149 return new DefaultOAuthProvider( 149 consumer,150 150 requestTokenUrl, 151 151 accessTokenUrl, -
trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
r3188 r3425 130 130 monitor.beginTask(""); 131 131 monitor.indeterminateSubTask(tr("Retrieving OAuth Request Token from ''{0}''", oauthProviderParameters.getRequestTokenUrl())); 132 provider.retrieveRequestToken( null);132 provider.retrieveRequestToken(consumer, null); 133 133 return OAuthToken.createToken(consumer); 134 134 } catch(OAuthCommunicationException e){ … … 163 163 monitor.beginTask(""); 164 164 monitor.indeterminateSubTask(tr("Retrieving OAuth Access Token from ''{0}''", oauthProviderParameters.getAccessTokenUrl())); 165 provider.retrieveAccessToken( null);165 provider.retrieveAccessToken(consumer, null); 166 166 return OAuthToken.createToken(consumer); 167 167 } catch(OAuthCommunicationException e){
Note:
See TracChangeset
for help on using the changeset viewer.