Max Lambrecht
af2ee3d27b
Move modules versions to a single parent version to simplify versioning.
...
Add gradle task to copy generated jars artifacts to a common folder.
Add travis config to deploy the jars.
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-06-10 14:43:13 -03:00
Max Lambrecht
91eb49bd8e
Update grpc, netty and jwt-jose dependencies
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-06-09 14:01:07 -03:00
Max Lambrecht
cccc243829
Set core dependency as api
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-06-09 13:51:45 -03:00
Max Lambrecht
bee7627afa
Minor: fixing gradle warnings
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-06-09 09:04:55 -03:00
Max Lambrecht
ea0d363c68
Refactor BundleSource interfaces to have a single parameterized interface for both X509 and JWT bundles.
...
Minor code improvements.
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-06-08 14:56:51 -03:00
Max Lambrecht
d68c17caaa
Moving class to avoid circular references.
...
Rename type parameters.
Improve readability.
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-06-08 14:37:02 -03:00
Max Lambrecht
cf761c5bdf
Java Spiffe Helper implementation
...
Refactors
Tests
README improvements
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-06-04 10:19:19 -03:00
Max Lambrecht
11d00e191c
Adding tests to improve coverage for X509Svid, X509SvidValidator, X509BundleSet, SpiffeId, JwtSvid.
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-05-18 12:11:47 -03:00
Max Lambrecht
fa50d55dd0
Change exception thrown by validation method and adding tests
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-05-18 09:00:54 -03:00
Max Lambrecht
3ef62e0812
Adding and refactoring tests
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-05-17 09:42:19 -03:00
Max Lambrecht
588da2cd55
Adding documentation
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-05-08 09:44:53 -03:00
Max Lambrecht
9867c032cf
Move examples to a folder in tests.
...
Add details to README.
Make constants public.
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-05-07 09:03:42 -03:00
Max Lambrecht
8de0b766ab
Adding extra method to create X509 source, improving some javadoc comments.
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-05-06 15:36:12 -03:00
Max Lambrecht
0c4801cf49
Remove double synchronization that is no longer recommended, add synchronized to method instead
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-05-01 05:32:04 -03:00
Max Lambrecht
c7212b9c76
Make constructor private in X509SourceManager
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-30 13:17:34 -03:00
Max
7d12743fb5
Adding backoff retry to watchX509Context.
...
Changing X509ContextException and X509ContextException to make them checked.
Address multiple PR comments.
Adding tests to Address and TrustDomain.
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-30 09:33:46 -03:00
Max Lambrecht
96b27c8277
Amending names and comments
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-27 06:47:28 -03:00
Max Lambrecht
ecabc0f288
Minor fixes
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-26 15:16:11 -03:00
Max Lambrecht
44cda6e809
Refactor error handling: use Exceptions instead of Result wrapper type
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-26 13:58:21 -03:00
Max Lambrecht
928b075661
Moving and cleaning dependencies
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-23 07:39:55 -03:00
Max Lambrecht
91f06d83bc
Adding more info in readme and completing an example
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-22 11:54:14 -03:00
Max Lambrecht
219a2e2e71
Refactoring SSL Context factory. Refactoring WorkloadAPIClient and X509Source
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-22 10:01:55 -03:00
Max Lambrecht
2cccc1c988
Refactoring Results in multiple methods. Refactoring the X509Source config.
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-21 13:01:26 -03:00
Max Lambrecht
3e05e37b10
Changing return value from Optional to Result. Other refactors. Improving comments.
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-20 10:56:36 -03:00
Max Lambrecht
43f9d79e8c
[WIP]-Define v2 interface, refactor in modules
...
Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
2020-04-10 14:21:27 -03:00