[oauth] Re: Java Library and java-twitter
To build from the current source, you'll need the java-twitter library. Maven will take care of this, since the dependency is declared in http://oauth.googlecode.com/svn/code/java/core/pom.xml The Twitter-related code will probably move into java-twitter. I've been discussing that with its author. http://groups.google.com/group/java-twitter?hl=en On Apr 13, 11:57 am, Zhihong wrote: > I just checked out the new Java Library today from > http://oauth.googlecode.com/svn/code/java/core/src/main/java but my > program doesn't build anymore because of a new directory called > java_twitter. > > Does java_twitter really belong to core? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oauth@googlegroups.com To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~--~~~~--~~--~--~---
[oauth] Re: Java Library and java-twitter
Great! I am just a little bit worried that the core is getting too big. The OAuth lib itself builds fine but sometimes we embed OAuth library in other JARs. The build error occurs in a JMeter plugin for OAuth. We build the plugin with OAuth code so only one JAR is delivered. For use- cases like this, it's very important to keep the dependencies to a minimum. Thanks! Zhihong On Apr 14, 12:38 pm, John Kristian wrote: > To build from the current source, you'll need the java-twitter > library. Maven will take care of this, since the dependency is > declared inhttp://oauth.googlecode.com/svn/code/java/core/pom.xml > > The Twitter-related code will probably move into java-twitter. I've > been discussing that with its > author.http://groups.google.com/group/java-twitter?hl=en > > On Apr 13, 11:57 am, Zhihong wrote: > > > I just checked out the new Java Library today from > >http://oauth.googlecode.com/svn/code/java/core/src/main/javabut my > > program doesn't build anymore because of a new directory called > > java_twitter. > > > Does java_twitter really belong to core? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oauth@googlegroups.com To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~--~~~~--~~--~--~---
[oauth] Re: Java Library and java-twitter
To minimize dependencies, I recommend removing Java packages that you don't need. You can eliminate several dependencies this way, such as the Java Servlet API and both Apache HTTP client libraries. I'm thinking of moving parts of oauth-core into new modules; for example a module for consumers (clients) and another for service providers (servers). Would that be helpful? Are there other parts that you'd like to be in separate modules? On Apr 15, 7:45 am, Zhihong wrote: > The OAuth lib itself builds fine but sometimes we embed OAuth library > in other JARs. The build error occurs in a JMeter plugin for OAuth. We > build the plugin with OAuth code so only one JAR is delivered. For use- > cases like this, it's very important to keep the dependencies to a > minimum. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oauth@googlegroups.com To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~--~~~~--~~--~--~---
[oauth] Re: Java Library and java-twitter
Hi Zhihong > it's very important to keep the dependencies to a > minimum. have you had the possibility to take a look at our OAuth Framework? http://asmx-oauth.googlecode.com/svn/site/1.0/index.html I'm already in touch with John and tomorrow we'll have a call to study strategies together. Best regards, Simone -- My LinkedIn profile: http://www.linkedin.com/in/simonetripodi My GoogleCode profile: http://code.google.com/u/simone.tripodi/ My Picasa: http://picasaweb.google.com/simone.tripodi/ My Tube: http://www.youtube.com/user/stripodi My Del.icio.us: http://del.icio.us/simone.tripodi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oauth@googlegroups.com To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~--~~~~--~~--~--~---
[oauth] Re: Java Library and java-twitter
Great idea! Something like this would work great for me, core - The code that handles signing. This package should have no dependencies at all. JRE should provide everything. consumer - The HttpClient interface. provider - A reference implementation of provider. This is as good as an example. It's impractical to provide real server functions in the library. As a provider, you have to face many tough issues, like how to store consumer info/token, how to check nonce etc. Thanks! Zhihong On Apr 15, 11:16 am, John Kristian wrote: > To minimize dependencies, I recommend removing Java packages that you > don't need. You can eliminate several dependencies this way, such as > the Java Servlet API and both Apache HTTP client libraries. > > I'm thinking of moving parts of oauth-core into new modules; for > example a module for consumers (clients) and another for service > providers (servers). Would that be helpful? Are there other parts > that you'd like to be in separate modules? > > On Apr 15, 7:45 am, Zhihong wrote: > > > The OAuth lib itself builds fine but sometimes we embed OAuth library > > in other JARs. The build error occurs in a JMeter plugin for OAuth. We > > build the plugin with OAuth code so only one JAR is delivered. For use- > > cases like this, it's very important to keep the dependencies to a > > minimum. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oauth@googlegroups.com To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~--~~~~--~~--~--~---
[oauth] Re: Java Library and java-twitter
This is interesting. Unfortunately, I can't use this in our environment. We don't use outside repositories for our security-related systems. I need to build myself and install it in our own repository. Where can I get the source to build? Zhihong On Apr 15, 11:41 am, Simone Tripodi wrote: > Hi Zhihong > > > it's very important to keep the dependencies to a > > minimum. > > have you had the possibility to take a look at our OAuth Framework? > > http://asmx-oauth.googlecode.com/svn/site/1.0/index.html > > I'm already in touch with John and tomorrow we'll have a call to study > strategies together. > Best regards, > Simone > > -- > My LinkedIn profile:http://www.linkedin.com/in/simonetripodi > My GoogleCode profile:http://code.google.com/u/simone.tripodi/ > My Picasa:http://picasaweb.google.com/simone.tripodi/ > My Tube:http://www.youtube.com/user/stripodi > My Del.icio.us:http://del.icio.us/simone.tripodi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oauth@googlegroups.com To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~--~~~~--~~--~--~---
[oauth] Re: Java Library and java-twitter
Hi Zhihong thanks for your interest! You can checkout the 1.0 tag from our google code repository: http://asmx-oauth.googlecode.com/svn/tags/1.0/ And then run mvn install from the root if you want to install everything, or from the core dir to install just the commons, consumer and provider packages. About what you wrote in your previous email: "core - The code that handles signing. This package should have no dependencies at all. JRE should provide everything. consumer - The HttpClient interface. provider - A reference implementation of provider. This is as good as an example. It's impractical to provide real server functions in the library. As a provider, you have to face many tough issues, like how to store consumer info/token, how to check nonce etc." This has been already done in our implementation, feel free to send any kind of feedback! As I already communicated, today I'll have a call with John and we will study a strategy to merge the 2 implementations. Best regards, Simone 2009/4/16 Zhihong : > > This is interesting. > > Unfortunately, I can't use this in our environment. We don't use > outside repositories for our security-related systems. I need to build > myself and install it in our own repository. Where can I get the > source to build? > > Zhihong > > On Apr 15, 11:41 am, Simone Tripodi wrote: >> Hi Zhihong >> >> > it's very important to keep the dependencies to a >> > minimum. >> >> have you had the possibility to take a look at our OAuth Framework? >> >> http://asmx-oauth.googlecode.com/svn/site/1.0/index.html >> >> I'm already in touch with John and tomorrow we'll have a call to study >> strategies together. >> Best regards, >> Simone >> >> -- >> My LinkedIn profile:http://www.linkedin.com/in/simonetripodi >> My GoogleCode profile:http://code.google.com/u/simone.tripodi/ >> My Picasa:http://picasaweb.google.com/simone.tripodi/ >> My Tube:http://www.youtube.com/user/stripodi >> My Del.icio.us:http://del.icio.us/simone.tripodi > > > -- My LinkedIn profile: http://www.linkedin.com/in/simonetripodi My GoogleCode profile: http://code.google.com/u/simone.tripodi/ My Picasa: http://picasaweb.google.com/simone.tripodi/ My Tube: http://www.youtube.com/user/stripodi My Del.icio.us: http://del.icio.us/simone.tripodi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OAuth" group. To post to this group, send email to oauth@googlegroups.com To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/oauth?hl=en -~--~~~~--~~--~--~---