ed52f2b35d
An implementation of a Security Provider that replaces the default TrustManager with one that checks certificate names against a manually controlled white list. This isn't activated anywhere yet, but the network map should register the valid node dns names.
2016-07-26 10:35:58 +01:00
e5777fd999
Fetch KeyStore passwords from NodeConfiguration
2016-07-26 10:35:57 +01:00
4c08141ce3
Tidy up based upon comments on PR
2016-07-26 10:35:56 +01:00
c7bc5ae652
Correct usage of hostName and cannonicalHostName in certificates to ensure the SSL certificates validate on Linux
2016-07-26 10:35:55 +01:00
00f897d58d
Add X509 creation and manipulation utilities to core and enable SSL in ArtemisMQ
2016-07-26 10:35:54 +01:00
0d68523f5c
Validate protocol type and args via whitelist ahead of class loading. Also, push this work into another method on the Factory.
2016-07-25 16:35:45 +01:00
93f4440c14
Moved IRS web folder up a level. Added support for static serving plugins.
2016-07-25 10:30:30 +01:00
e7ff5b8f6f
Typo fix
2016-07-22 17:31:03 +01:00
2142bd1d8a
Added Log4j bindings for SLF4J. Test log output is redirected to the console, and demo output is now additionally stored in a rolling log file.
2016-07-22 16:15:00 +01:00
c442cd01a7
Merged in andrius-cleanup-tweaks (pull request #208 )
...
Remove the "verify correct notary has signed" check from TwoParty protocols
2016-07-18 10:40:25 +01:00
c32af56b41
Rebuild commercial paper contracts using clauses
2016-07-13 16:55:18 +01:00
cba3aab96e
Rebuild asset contracts using clauses
2016-07-13 13:08:23 +01:00
254592dc54
Move protocols into correct package
2016-07-12 18:42:00 +01:00
3a5399f878
Remove TODO associated with the fact that the ZIP filesystem does not specify the Path Separator character. Add a test to check access through forward or backward slashes is consistent.
2016-07-12 13:43:44 +01:00
d7cc34c9a5
all: Full stops in comments!
2016-07-11 17:58:53 +01:00
e28ecae8c0
Address review comments
2016-07-11 18:47:24 +02:00
2be91ff516
Minor: tighten variance when possible (via the Inspector)
2016-07-11 18:15:28 +02:00
0a2f313d40
Minor: run IntelliJ 'code cleanup'
2016-07-11 18:15:28 +02:00
41d092a169
Minor: optimize imports
2016-07-11 18:15:28 +02:00
6b7580c977
Minor: fix compiler warnings.
2016-07-11 18:15:28 +02:00
cc22810b09
Testing cleanup:
...
- Move code out of ambiguously named TestUtils files (there were three). Sometimes it's simpler to just put these things into the contract source files directly.
- Remove JavaTestHelpers objects (there were three), in favour of just giving the top level kotlin file class better names.
- Misc other small tweaks and cleanups.
2016-07-11 16:22:02 +02:00
6b775ebd4d
Replace named timestamping authority with notary
...
As the timestamping authority is now always the notary service, contracts should
no longer be using name-based lookup of the timestamping authority (as this will
generally be wrong). This introduces a new "timestamp" property on a transaction,
and updates most contracts to refer to it.
In some cases (IRS, CommercialPaper) there are transactions with no input states
to derive notary from, that use timestamps. In these cases a notary is specified
in the command.
2016-07-11 14:54:36 +01:00
d0903ae265
docs: Rename test tutorial subtitle
2016-07-11 14:25:27 +01:00
e13a95857a
core: Remove colons from @param comments
2016-07-11 14:25:27 +01:00
4324e33fea
testdsl: Removed R type parameter, unify verifies() interface
2016-07-11 14:25:27 +01:00
9bb8439dc3
testdsl: Add failsWith to Ledger
2016-07-11 14:25:27 +01:00
cd0299f650
testdsl: Javadoc comments
2016-07-11 14:25:27 +01:00
3d885eb928
testdsl: Clean up TestUtils.kt
2016-07-11 14:25:27 +01:00
c3060c11c0
testdsl: Use and expose TransactionBuilder in TestTransactionDSLInterpreter
2016-07-11 14:25:27 +01:00
1ae8ada999
Add support for clause based contract verification
2016-07-08 11:17:24 +01:00
eee049d66b
Add cacheing to ServiceLoader scanning of plugins and add a TODO on whitelisting
2016-07-08 10:38:23 +01:00
1fb4371de9
Make the IRS Demo web api an api plugin (scanned from the Node classpath) and use the same permission checking entry point for web api's as the scheduler.
...
Fix whitespace
Change ProtocolLogicRefFactory to use Map<String, Set<String>> as whitelist definition
2016-07-08 10:34:30 +01:00
ad3e9be1c8
Add a version number to gradle and allow "gradle install" to install the core module to the local Maven repository.
2016-07-07 13:59:55 +01:00
b498928f75
Remove the "verify correct notary has signed" check. This is no longed necessary as the required notary key is added to the "signers" list during transaction construction. We have general validation rules that check the correct notary was included in the signers list, and that we have signatures for all "signers".
2016-07-07 13:22:30 +01:00
bbc5c2e981
Merged in mike-july-dependency-upgrades (pull request #200 )
...
Upgrade dependencies, July edition.
2016-07-06 16:25:52 +01:00
2e3f689fd3
Minor: fix PublicKey.toShortString after the switch to ed25519
2016-07-06 16:04:10 +01:00
6fb7e59b91
Upgrade dependencies, July edition.
2016-07-06 13:56:22 +01:00
0cf54d1c1f
test dsl: Comment full stops
2016-07-06 13:25:08 +01:00
26d8973746
test dsl: Add TODO on type synonyms
2016-07-06 13:25:08 +01:00
f177b1ffaa
test dsl: LastLineShouldTestForVerifiesOrFails->EnforceVerifyOrFail
2016-07-06 13:25:08 +01:00
e31b769fef
test dsl: Dsl->DSL, add top-level transaction primitive, add ledger-embedded signAll, other cosmetics
2016-07-06 13:25:08 +01:00
e3d6f51049
contracts, core, node: Port TransactionForTest tests to new DSL
2016-07-06 13:25:08 +01:00
a27f195b4f
core: Add LastLineShouldBeVerifiesOrFails, fix attachment primitive, Java interop
2016-07-06 13:25:08 +01:00
f4a6a43aa6
contracts, core: Port CommercialPaperTests, IRSTests, ObligationTests, TransactioGroupTests
2016-07-06 13:25:08 +01:00
cb47e00feb
core: Add convenience input(), remove TransactionGroupDSL
2016-07-06 13:25:08 +01:00
9b36df607e
core: Remove binding of State type in test dsl
2016-07-06 13:25:08 +01:00
bf4272b64a
core: transaction/ledger DSL interfaces and implementation for tests
2016-07-06 13:25:08 +01:00
5c0e7fbbf2
Moved topic parameter from send/receive methods to a ProtocolLogic property
2016-07-05 15:12:25 +01:00
a02263937c
send and sendAndReceive use Party for the destination
2016-06-30 12:04:39 +01:00
5271882dcd
Event scheduling and docs for event scheduling
2016-06-30 08:51:52 +01:00