I need to upload a file to a sharepoint online repository (Office 365). I need to do this in java and the sharepoint online site uses ADFS for single sign-on.
So far, all of the examples, sample-code, etc I've works for most of those requirements, but fails at one critical part (e.g.: java file upload with sso for a local sharepoint 2013 site, or java file upload to sharepoint online, but without the ADFS part). Authentication against ADFS seems to be one of the big sticking points.
Does anyone have an example of this working that meets all of those requirements?
edit-to-add: and, naturally, I've got no budget to do things like buy a commercial library that might do this quick-and-easy. :\