KNOX-1997: Adding changes to buffer messages from backend in onMessag… (#143)

* KNOX-1997: Adding changes to buffer messages from backend in onMessageText() if frontend session related data structures have not been setup i.e. remote is null. Message buffer will be flushed when remote is set by other thread executing onWebSocketConnect() API. To synchronise reading/flushing buffer, added a lock

13 files changed
tree: 1c50675eb1ff9141a17b20a1b1fab46a15c8f203
  1. .gitattributes
  2. .github/
  3. .gitignore
  4. .travis.yml
  5. CHANGES
  6. ISSUES
  7. LICENSE
  8. NOTICE
  9. README
  10. build-tools/
  11. build.xml
  12. dev-support/
  13. doap_Knox.rdf
  14. gateway-adapter/
  15. gateway-admin-ui/
  16. gateway-applications/
  17. gateway-demo-ldap-launcher/
  18. gateway-demo-ldap/
  19. gateway-discovery-ambari/
  20. gateway-discovery-cm/
  21. gateway-docker/
  22. gateway-i18n-logging-log4j/
  23. gateway-i18n-logging-sl4j/
  24. gateway-i18n/
  25. gateway-provider-ha/
  26. gateway-provider-identity-assertion-common/
  27. gateway-provider-identity-assertion-concat/
  28. gateway-provider-identity-assertion-hadoop-groups/
  29. gateway-provider-identity-assertion-pseudo/
  30. gateway-provider-identity-assertion-regex/
  31. gateway-provider-identity-assertion-switchcase/
  32. gateway-provider-jersey/
  33. gateway-provider-rewrite-common/
  34. gateway-provider-rewrite-func-hostmap-static/
  35. gateway-provider-rewrite-func-inbound-query-param/
  36. gateway-provider-rewrite-func-service-registry/
  37. gateway-provider-rewrite-step-encrypt-uri/
  38. gateway-provider-rewrite-step-secure-query/
  39. gateway-provider-rewrite/
  40. gateway-provider-security-authc-anon/
  41. gateway-provider-security-authz-acls/
  42. gateway-provider-security-authz-composite/
  43. gateway-provider-security-clientcert/
  44. gateway-provider-security-hadoopauth/
  45. gateway-provider-security-jwt/
  46. gateway-provider-security-pac4j/
  47. gateway-provider-security-preauth/
  48. gateway-provider-security-shiro/
  49. gateway-provider-security-webappsec/
  50. gateway-release-common/
  51. gateway-release/
  52. gateway-server-launcher/
  53. gateway-server-xforwarded-filter/
  54. gateway-server/
  55. gateway-service-admin/
  56. gateway-service-as/
  57. gateway-service-definitions/
  58. gateway-service-hashicorp-vault/
  59. gateway-service-hbase/
  60. gateway-service-health/
  61. gateway-service-hive/
  62. gateway-service-impala/
  63. gateway-service-jkg/
  64. gateway-service-knoxsso/
  65. gateway-service-knoxssout/
  66. gateway-service-knoxtoken/
  67. gateway-service-livy/
  68. gateway-service-nifi-registry/
  69. gateway-service-nifi/
  70. gateway-service-remoteconfig/
  71. gateway-service-rm/
  72. gateway-service-storm/
  73. gateway-service-test/
  74. gateway-service-tgs/
  75. gateway-service-vault/
  76. gateway-service-webhdfs/
  77. gateway-shell-launcher/
  78. gateway-shell-release/
  79. gateway-shell-samples/
  80. gateway-shell/
  81. gateway-spi/
  82. gateway-test-release-utils/
  83. gateway-test-release/
  84. gateway-test-utils/
  85. gateway-test/
  86. gateway-util-common/
  87. gateway-util-configinjector/
  88. gateway-util-launcher/
  89. gateway-util-urltemplate/
  90. hadoop-examples/
  91. knox-cli-launcher/
  92. pom.xml
  93. src/