Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBL-1169: Implement Client Cert Auth #9

Merged
merged 2 commits into from
Aug 4, 2020
Merged

CBL-1169: Implement Client Cert Auth #9

merged 2 commits into from
Aug 4, 2020

Conversation

pasin
Copy link
Contributor

@pasin pasin commented Aug 1, 2020

  • Updated AbstractCBLWebSocket to use KeyManager for client cert auth.
  • Fixed native_c4listiener to setup client certs auth with rootClientCerts pr callback properly.

@pasin pasin requested a review from bmeike August 1, 2020 04:08
* Updated AbstractCBLWebSocket to use KeyManager for client cert auth.
* Fixed native_c4listiener to setup client certs auth with rootClientCerts pr callback properly.
Copy link
Contributor

@bmeike bmeike left a comment

Choose a reason for hiding this comment

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

Looks good to me.
There is a formatter configuration in /common/etc/studio/cbl.xml. It would be really excellent if you would import it at use it.

@@ -564,14 +564,21 @@ JNICALL Java_com_couchbase_lite_internal_core_impl_NativeC4Listener_startTls(
jboolean allowPush,
jboolean allowPull,
jboolean enableDeltaSync) {
Copy link
Contributor

Choose a reason for hiding this comment

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

whoops! Great catch.

@pasin
Copy link
Contributor Author

pasin commented Aug 3, 2020

OK I reformatted the code using cbl.xml code style. Will do it on the other PR as well.

@pasin pasin merged commit fd2a533 into master Aug 4, 2020
@pasin pasin deleted the feature/CBL-1169 branch August 4, 2020 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants