Skip to content

Asymmetric key support#105

Open
markscottwright wants to merge 5 commits into
microsoft:masterfrom
markscottwright:asymmetric-key-support
Open

Asymmetric key support#105
markscottwright wants to merge 5 commits into
microsoft:masterfrom
markscottwright:asymmetric-key-support

Conversation

@markscottwright
Copy link
Copy Markdown

Add support for asymmetric keys for SCEP and Revocation

@ghost
Copy link
Copy Markdown

ghost commented May 5, 2021

CLA assistant check
All CLA requirements met.

Mark Wright added 2 commits May 5, 2021 11:30
adal4j's AuthenticationContext requires an Executor service on which to
perform authentication calls.  However, this library makes no use of
that possible concurrency, so there is no reason to create an expensive
new OS level thread for each ADALClientWrapper instance.

It also had been cleaning up the ExecutorService in a `finalize` call,
likely thinking that Java's `finalize` works the way it does in C#.  In
Java, however, `finalize` is less useful (and is deprecated in Java 9),
and as written the code would hold on to the JVM, preventing exit, until
that `finalize` was called (generally two GC sessions later, an
indeterminate amount of time.)  I suspect the code would leak OS threads
as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant