Skip to content

Add SNI support in Identity SDK#15561

Merged
g2vinay merged 8 commits intoAzure:masterfrom
g2vinay:add-chained-cert-support
Oct 2, 2020
Merged

Add SNI support in Identity SDK#15561
g2vinay merged 8 commits intoAzure:masterfrom
g2vinay:add-chained-cert-support

Conversation

@g2vinay
Copy link
Member

@g2vinay g2vinay commented Sep 23, 2020

Updates MSAL4J dependency to 1.7.1.
Accommodates the TenantProfiles added to IAccount in MSAL4J.
Adds Chained Certificate support to ClientCertificateCredential.
Adds option for user to configure sending x5c on ClientCertificateCredentialBuilder

Fixes #10370

@ghost ghost added the Azure.Identity label Sep 23, 2020
<groupId>com.microsoft.azure</groupId>
<artifactId>msal4j</artifactId>
<version>1.6.2</version> <!-- {x-version-update;com.microsoft.azure:msal4j;external_dependency} -->
<version>1.7.0</version> <!-- {x-version-update;com.microsoft.azure:msal4j;external_dependency} -->
Copy link
Member Author

@g2vinay g2vinay Sep 23, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: I'll update the external_dep file before merging, as that will impact other libraries using MSAL too.
Currently, the scope of review is kept till Identity only.

@g2vinay g2vinay marked this pull request as ready for review September 23, 2020 17:40
@g2vinay g2vinay requested review from chlowell and srnagar September 23, 2020 17:40
@g2vinay g2vinay self-assigned this Sep 23, 2020
Comment on lines +122 to +124
new AuthenticationRecord(msalToken.getAuthenticationResult(),
identityClient.getTenantId(), identityClient.getClientId()),
msalToken.getAccount().getTenantProfiles()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: The formatting looks a bit odd. Probably moving the instantiation of AuthenticationRecord outside of set() would make it more readable too.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed,
will update it.

@g2vinay g2vinay changed the title Add Chained certificate support to Client Certificate Credential in Identity SDK. Add SNI support in Identity SDK Sep 29, 2020
@g2vinay g2vinay merged commit 4843871 into Azure:master Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support SubjectName/Issuer (SNI) certificate authentication for Service Principals

4 participants