Adding C++ metadata processor.
- Had to chnage the core API to add a destroy function pointer in grpc_auth_metadata_processor. - Tested end to end. - Fixed some issues in the server_auth_filter (we were not checking the length which put us at risk of an overflow).
Showing
- include/grpc++/auth_metadata_processor.h 4 additions, 1 deletioninclude/grpc++/auth_metadata_processor.h
- include/grpc++/server_credentials.h 5 additions, 5 deletionsinclude/grpc++/server_credentials.h
- include/grpc++/support/auth_context.h 4 additions, 1 deletioninclude/grpc++/support/auth_context.h
- include/grpc/grpc_security.h 1 addition, 0 deletionsinclude/grpc/grpc_security.h
- src/core/security/credentials.c 13 additions, 2 deletionssrc/core/security/credentials.c
- src/core/security/security_context.c 0 additions, 13 deletionssrc/core/security/security_context.c
- src/core/security/server_auth_filter.c 7 additions, 3 deletionssrc/core/security/server_auth_filter.c
- src/core/security/server_secure_chttp2.c 9 additions, 0 deletionssrc/core/security/server_secure_chttp2.c
- src/cpp/client/create_channel.cc 1 addition, 0 deletionssrc/cpp/client/create_channel.cc
- src/cpp/common/secure_auth_context.cc 12 additions, 3 deletionssrc/cpp/common/secure_auth_context.cc
- src/cpp/common/secure_auth_context.h 5 additions, 2 deletionssrc/cpp/common/secure_auth_context.h
- src/cpp/common/secure_create_auth_context.cc 1 addition, 1 deletionsrc/cpp/common/secure_create_auth_context.cc
- src/cpp/server/secure_server_credentials.cc 11 additions, 6 deletionssrc/cpp/server/secure_server_credentials.cc
- src/cpp/server/secure_server_credentials.h 2 additions, 0 deletionssrc/cpp/server/secure_server_credentials.h
- test/core/end2end/fixtures/chttp2_fake_security.c 1 addition, 1 deletiontest/core/end2end/fixtures/chttp2_fake_security.c
- test/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c 1 addition, 1 deletiontest/core/end2end/fixtures/chttp2_simple_ssl_fullstack.c
- test/core/end2end/fixtures/chttp2_simple_ssl_fullstack_with_poll.c 1 addition, 1 deletion.../end2end/fixtures/chttp2_simple_ssl_fullstack_with_poll.c
- test/core/end2end/fixtures/chttp2_simple_ssl_fullstack_with_proxy.c 1 addition, 1 deletion...end2end/fixtures/chttp2_simple_ssl_fullstack_with_proxy.c
- test/core/end2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c 35 additions, 10 deletions...nd2end/fixtures/chttp2_simple_ssl_with_oauth2_fullstack.c
- test/cpp/end2end/end2end_test.cc 161 additions, 14 deletionstest/cpp/end2end/end2end_test.cc
Loading
Please register or sign in to comment