summaryrefslogtreecommitdiffstats
path: root/jrt/tests
Commit message (Collapse)AuthorAgeFilesLines
* Change 'TlsContext' interface to return `X509SslContext'Bjørn Christian Seime2023-11-231-2/+3
|
* Correct copyright headersJon Bratseth2023-10-091-1/+1
|
* Update copyrightJon Bratseth2023-10-0929-28/+29
|
* Use assertEquals instead of assertTrue/False and also dump state prior to ↵Henning Baldersheim2023-05-111-8/+11
| | | | lookup.
* Fix unstable testHarald Musum2023-01-261-3/+2
| | | | Seems like the logic was flipped in https://github.com/vespa-engine/vespa/pull/21372
* remove xor crypto engine from JavaHåvard Pettersen2023-01-042-12/+0
|
* add more relevant information when messagebus fails to startArne Juul2022-12-211-0/+1
|
* Add method to use Duration as timeout to make unit explicit, and avoid many ↵Henning Baldersheim2022-08-1211-28/+46
| | | | magic conversions.
* Improve testing of JRT access filteringBjørn Christian Seime2022-07-204-33/+71
| | | | | Test that method is not invoked when request is rejected by filter. Move testing of filter accepting request to async- and sync-specific test classes.
* Implement RequireCapabilitiesFilter in jrt + miscBjørn Christian Seime2022-07-201-4/+1
| | | | | Add peerSpec to Target/Connection. Always provide ConnectionAuthContext. Add helper for creating default, all-granting ConnectionAuthContext.
* Merge Java package 'c.y.s.tls.{auth,json,policy}' into 'c.y.s.tls'Bjørn Christian Seime2022-07-202-5/+5
| | | | Facilitate improved encapsulation of Vespa mTLS related classes
* Introduce per method request access filtering to JRTBjørn Christian Seime2022-07-201-1/+36
|
* Include full certificate chain in auth contextBjørn Christian Seime2022-07-151-2/+2
|
* Return granted capabilities from PeerAuthorizerBjørn Christian Seime2022-07-151-13/+14
| | | | Introduce new ConnectionAuthContext as replacement for AuthorizationResult/SecurityContext.
* Remove 'role' concept from 'authorized-peers'Bjørn Christian Seime2022-07-111-3/+0
|
* Revert "Revert "GC unused SessionHandler""Henning Baldersheim2022-02-243-506/+6
|
* Revert "GC unused SessionHandler"Harald Musum2022-02-243-6/+506
|
* Add a synchronized isConnected() method on the Connection.Henning Baldersheim2022-02-241-5/+8
|
* GC unused SessionHandlerHenning Baldersheim2022-02-233-508/+5
|
* Update 2019 Oath copyrights.gjoranv2021-10-271-1/+1
|
* Update 2018 copyright notices.gjoranv2021-10-072-2/+2
|
* Update 2017 copyright notices.gjoranv2021-10-0726-26/+26
|
* try to use less memory for buffersHåvard Pettersen2021-06-151-57/+1
| | | | | | - fix default 64k max sizes - start with empty buffers - simplify Buffer class
* drop empty buffers support for JavaHåvard Pettersen2021-06-021-1/+11
|
* Encapsulate pattern implementation in RequiredPeerCredentialBjørn Christian Seime2020-11-251-3/+1
|
* Name the transport threads to understand how things are interconnected.Henning Baldersheim2020-08-043-8/+7
|
* Override hostname verification in PeerAuthorizerTrustManagerBjørn Christian Seime2020-02-171-5/+8
| | | | | Override hostname verification on client-side. Remove overriding of hostname verification for server-side.
* auto-compact empty buffers when requesting writable viewHåvard Pettersen2019-10-171-0/+15
|
* Make peer authentication in TlsContext configurableBjørn Christian Seime2019-07-031-1/+2
|
* Remove ciphers from DefaultTlsContext public constructorsBjørn Christian Seime2019-07-031-1/+1
|
* Move constants from DefaultTlsContext to TlsContextBjørn Christian Seime2019-07-031-1/+1
|
* use upper bound for current time estimateHåvard Pettersen2019-07-011-2/+2
|
* address() -> resolveAddressHenning Baldersheim2019-05-281-8/+8
|
* Keep the spec final.Henning Baldersheim2019-05-281-5/+3
| | | | | | Create the address when needed in the async connect thread. Implement hash/equal/compareTo for Spec to avoid toString. Use Spec as key and avoid creating it every time.
* Remove usage of deprecated Method constructorBjørn Christian Seime2019-05-2311-65/+52
|
* improve latency testHåvard Pettersen2019-05-151-20/+48
| | | | use time to specify each benchmark state instead of request count
* multi-threaded transport for JRTHåvard Pettersen2019-05-133-44/+134
|
* Add security context to targetBjørn Christian Seime2019-05-061-3/+36
|
* Change interface from Mirror.Entry[] to List<Mirror.Entry> as you already ↵Henning Baldersheim2019-04-221-18/+15
| | | | | | have a list. Avoid having to do an array copy that is not necessary.
* async tls handshake in jrtHåvard Pettersen2019-02-281-0/+84
|
* Revert "async tls handshake in jrt"Harald Musum2019-02-271-84/+0
|
* async tls handshake in jrtHåvard Pettersen2019-02-261-0/+84
|
* Merge pull request #8218 from vespa-engine/bjorncs/tlsTor Brede Vekterli2019-01-241-6/+5
|\ | | | | bjorncs/tls
| * Use 'prime256v1' curve for EC keysBjørn Christian Seime2019-01-231-7/+5
| | | | | | | | | | This allows the TLS test in jrt to use elliptic curves crypto in unit tests (fixes issue where JSSE cannot find matching cipher).
| * Allow configuration of accepted ciphersBjørn Christian Seime2019-01-231-1/+2
| |
* | Add calculation of metrics changes since previous snapshotBjørn Christian Seime2019-01-221-3/+4
| | | | | | | | | | | | | | | | - Move metric diff calculation to TransportMetrics.Snapshot. - Remove TransportMetrics.reset() and use changesSince() instead in EchoTest. - Remove unnecessary volatile modifier on JrtMetrics.previousSnapshot. - Initialize JrtMetrics.previousSnapshot in constructor. - Use separate field declarations for fields in TransportMetrics.Snapshot.
* | Make TransportMetrics a singletonBjørn Christian Seime2019-01-221-14/+17
|/
* more robust testingHåvard Pettersen2019-01-102-15/+15
| | | | | | - add volatile to ensure visibility - try for longer to ensure wanted state is reached also when load is high - sleep for shorter to make test run faster and also protect against interruptions
* Add metrics for jrt transportBjørn Christian Seime2019-01-081-5/+38
|
* Use AuthorizationMode to configure behaviour of PeerAuthorizerTrustManagerBjørn Christian Seime2018-12-051-2/+2
|