Commit Graph

44 Commits

Author SHA1 Message Date
Matthew Stevenson c942282abc Implemented Yihua's review comments 2019-08-27 14:57:02 -07:00
Matthew Stevenson 1735135b27 Deleted extra xml file, removed server authorization check memory leaks 2019-08-26 14:54:45 -07:00
Matthew Stevenson 5d9297d0bc Fixed some memory leaks 2019-08-26 14:31:16 -07:00
Matthew Stevenson c2fd3844dc Implemented Yihua's comments 2019-08-23 16:20:19 -07:00
Matthew Stevenson 94d3e95e8d Small changes to/for unit tests. 2019-08-23 11:22:12 -07:00
Matthew Stevenson 4c26cc402f Removed free statement from TlsCredentialReloadConfigCppToC test 2019-08-22 10:27:48 -07:00
Matthew Stevenson 9da9c0786d Added a line in build.yaml and starting to clean up memory leaks in unit tests 2019-08-22 09:50:09 -07:00
Matthew Stevenson e8b28dd27b Autogenerated files 2019-08-21 15:28:15 -07:00
Matthew Stevenson 3b9e7d9a3a Fixed credential options unit test 2019-08-21 12:27:33 -07:00
Matthew Stevenson 967b911f85 Add forgotten callback function for server authorization check. 2019-08-21 09:08:15 -07:00
Matthew Stevenson e37836b0c7 Fixed a few typos in unit tests 2019-08-21 08:46:02 -07:00
Matthew Stevenson d761619484 Finished unit tests 2019-08-20 16:08:10 -07:00
Matthew Stevenson 6189d34724 Revert "Forgot to autogenerate files and run clang_format/tidy_code"
This reverts commit 9295e4ebb3.
2019-08-20 14:50:35 -07:00
Matthew Stevenson 9295e4ebb3 Forgot to autogenerate files and run clang_format/tidy_code 2019-08-20 14:41:38 -07:00
Matthew Stevenson 52b72c00f1 Debugging after restores 2019-08-20 14:23:08 -07:00
Matthew Stevenson 78e8fb731d Restored credentials_test.cc 2019-08-20 13:42:53 -07:00
Matthew Stevenson 1e46b38d66 Hid some key materials API's and refactored credential reload arg wrapper. 2019-08-14 13:11:27 -07:00
Matthew Stevenson f3f8bf05b2 Fix conflicts with ssl_utils.h 2019-08-13 12:18:31 -07:00
Matthew Stevenson f169b4b28e Update CredentialReloadArg unit test 2019-08-09 09:37:27 -07:00
Matthew Stevenson 094c35f872 Small changes to ssl_util.h, added comments, fixed error in key materials unit test 2019-08-08 22:54:06 -07:00
Matthew Stevenson aa207510ce Finished implementation of API's. 2019-08-07 15:53:26 -07:00
Matthew Stevenson c5acf9e3c7 Fixed undeclared dependency and added std::move in setter functions 2019-08-02 10:31:53 -07:00
Matthew Stevenson 5980d0d10d Added unit tests and fixed some build problems 2019-08-02 09:38:35 -07:00
yang-g 5779dd935a Qualify the error code with StatusCode:: 2019-07-10 13:52:31 -07:00
Julien Boeuf 109edca971 Adding C++ API and implementation for STS credentials:
- marked as experimental.
- also changed the name of a field in the options struct.
2019-07-09 22:28:44 -07:00
Vijay Pai c90a85649b Change grpc++ references in names to grpcpp 2018-03-08 22:04:59 -08:00
Jan Tattermusch 7897ae9308 auto-fix most of licenses 2017-06-08 11:22:41 +02:00
Noah Eisen 89371914c9 Fix error refcount bug
Added a missing ref in httpcli.c. Also added a test to avoid
regression
2017-05-02 23:26:05 -07:00
Julien Boeuf e5adc0eb67 Fixing Cpp tests. 2015-10-12 14:09:13 -07:00
Julien Boeuf 5be92a316d Shuffling headers around. 2015-08-28 16:28:18 -07:00
Julien Boeuf 510a920c75 Credentials cleanup:
- Removing service_accounts credentials. These credentials just have
  drawbacks compared to service_account_jwt_access credentials, notably
  in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
  C++. This should be done as well for wrapped languages.
2015-08-25 21:51:07 -07:00
Craig Tiller b256faa353 Merge github.com:grpc/grpc into sometimes-its-good-just-to-check-in-with-each-other 2015-07-23 11:28:16 -07:00
Vijay Pai c4af224970 Remove one range-based for and do appropriate static casts on nullptr 2015-07-21 18:44:20 +00:00
Yang Gao a89389283f support per call credentials in c++ 2015-05-14 11:51:07 -07:00
Nicolas "Pixel" Noble fd2bf675f7 Merge branch 'master' of github.com:grpc/grpc into the-purge-2
Conflicts:
	include/grpc++/completion_queue.h
2015-04-24 23:24:44 +02:00
Yang Gao c4b6ffb1b6 Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free. 2015-04-24 13:09:40 -07:00
Nicolas Noble 89219162dd Refactoring std::chrono out. 2015-04-08 05:42:08 +02:00
Yang Gao 6baa9b67ad clang-format c++ code 2015-03-17 10:49:39 -07:00
Craig Tiller 47c83fdaf7 Credentials prototyping
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
2015-02-23 09:58:22 -08:00
Craig Tiller 190d360def Add missing new-lines at end of file 2015-02-18 09:23:38 -08:00
Craig Tiller 0605995e55 Update copyright to 2015 2015-02-18 08:34:56 -08:00
Julien Boeuf 8fbcc4391e Changing the SSL (Server) Credentials API.
- Changed the unsigned char * + size to NULL terminated strings which
  makes sense for the PEM format. I may change TSI later (but the impact
  will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
  when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
  option to not specify the roots which will then be derived from the
  environment (well-known platform dependent locations and/or
  environment variable).
- Fixed the php build which is the only one added in the run_test.py.
  This change will certainly break node, python and ruby.
2015-01-20 22:18:15 -08:00
Craig Tiller de990f9155 Initialize gtest correctly 2015-01-12 17:07:23 -08:00
yangg 4105e2b86c Add ServiceAccount Credentials wrapping and handle credentials creation
failure.
	Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634736
2015-01-12 11:22:01 -08:00