Azure / autorest-clientruntime-for-java

The runtime libraries for AutoRest generated Java clients.
MIT License
20 stars 59 forks source link

Add timeout to ApplicationTokenCredentials.getToken() #675

Closed jianghaolu closed 4 years ago

jianghaolu commented 4 years ago

Currently, because the method is synchronized, if adal4j underneath hangs, then it blocks all other calls. We can make it more resilient by adding a timeout.

jianghaolu commented 4 years ago

Fixed in 1.7.6