Microsoft identity platform and the OAuth 2.0 client credentials flow with JAVA 7 for desktop application - json

My application is hosted with JAVA 7. Hence need to have code sample for which is samples is with JAVA 7.
I can see the code with JAVA 8 or above.
https://github.com/Azure-Samples/ms-identity-java-desktop

Related

Can AWS X-ray configured with jdk7?

I am exploring the AWS X-ray for monitoring my application with java 7.But in documentation, I found that, It requires java 8 or later(https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-java.html).
Java 8 is required to up the xray or applicaton is needed to build in java 8?
If there is some process by which xray can be used with java 7?
There is no easy way to support Java 7. The SDK is developed on Java 8 which uses some features not available on older versions. You can download source from https://github.com/aws/aws-xray-sdk-java, modify it so it builds on Java 7 and use the built artifacts as needed.

Testing Windows Store app with Visual Studio Team Services

I'm trying to set up continuous integration testing for a Windows Store (8.1) app on Visual Studio Team Services (formerly Visual Studio Online).
Setting up build was fairly easy, but I have not been able to get it to run my unit tests on a Hosted Agent. So far I have:
Added /t:Publish to the build to produce the test runner .appx
Created a Powershell script to install the appropriate certificates onto the agent
Modified the test search path to find the .appx
Now, I'm getting errors about installing a developer license:
Error: Could not start test run for unit tests for Windows Store app: No valid developer license found for running unit tests for Windows Store apps. Please install/renew your developer license..
It does not appear to be possible to add a developer license strictly from Powershell or Command Prompt, so is there some other way of running the tests on a Hosted Agent?
Assuming you are using vNext build and Universal Windows Platform template by following this article.
As the developer license is deprecated in the Windows 10 operating system, Universal Windows Platform template doesn't require developer license. But if the computer that hosts the build agent will be used to perform unit tests for windows 8.x, developer license must be installed on the computer.
So, there is no way to run tests for Windows 8.1 on Hosted Agent. You need to deploy a Windows build agent or set up an on-premises build controller + build agent to test Windows 8.1 application.

SSIS C# Script using Google.Apis.Auth.OAuth2;

I made a C# Script in SSIS pulling data from GA API. On Monday, Google closed the access to the api via basic authentication
AnalyticsService service = new AnalyticsService(Dts.Variables["CONFIG_GA_PROJECT"].Value.ToString());
service.setUserCredentials(username, pass);
=> Got 404 error
So I want to move to the following security implementation : Accessing older GData APIs (Spreadsheet API) using OAuth 2 and a service account
The problem is : seems like we can't use nuget installation in SSIS Script as dll has to be pushed in the GAC.
I tried using : How to install a DLL to the GAC on Windows Server 2012 using only PowerShell (without having to install SDK or Visual Studio) but didn't work...
Is anyone found a way to use Google.Apis.Auth.dll in a SSIS C# Script task ?
The problem you are having is due to the fact that the Google .net client library aren't strong name signed, so they cant be pushed to GAC. Also remember that the current Google .net client only works with .net 4 and .net 4.5 so you are going to be locking out the older versions of SSIS I think.
This is reason I didn't use them in my Google Analytics Custom SSIS Data Reader and Connection Manager which uses Oauth2.
Options:
Strong name sign the Client library yourself. code here
Wait for the strong name signed version of the library to be released. I hope its done soon. Strong Naming in binaries #238
Do what I did and code it all yourself with out the Client library, this allows you to code for .net 3.0 and support SQL server 2005 - 2012 like mine.
I hope this helps. The one I made is free for download you are welcome to have a look Data Reader for Google Analytics

Worklight encryption for Windows 8 Store web resources

I'm currently porting an application as a Windows Store App with Worklight 6.1. Is there a feature to encrypt web resources similar to what the iPad and Android environments have?
Encrypted Offline Cache is not available for the Windows 8 environment in Worklight 6.1.
It is alsos not available for this environment in recently released Worklight 6.2.
However, in Worklight 6.2 you can use the newly added JSONStore support in Windows 8 to protect your data.
The Encrypt Web Resources feature is available only for Android and iOS.
You can submit a feature request so that it will be considered for a future release of Worklight: http://www.ibm.com/developerworks/rfe/

How can you interop WSE 2.0 and 3.0 in a single project

As a part of my job, I need to add a new webservice to one our existing projects. Currently all of the services are ASMX webservices using WSE 3.0, but the new service needs to use WSE 2.0 SP3 because the vendor that will be calling it refuses to upgrade to 3.0.
I was hoping that someone here knew how to let these two versions run side by side.
Thanks
You will be unable to run both side by side. WSE 2.0 runs on the .NET 1.1 platform. WSE 3.0 runs on the .NET 2.0 platform.
You should be able to run WSE 3.0 on the web service and have the client use WSE 2.0 on their end. Both should implement the WS-Security standards respectively.