From c3d118da45c0062bc3579006844e008357c248c5 Mon Sep 17 00:00:00 2001 From: Samuel Waggoner Date: Fri, 13 Nov 2020 16:01:53 -0800 Subject: [PATCH] Update README.md Amend parent class in example --- java-spiffe-core/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-spiffe-core/README.md b/java-spiffe-core/README.md index a5df447..a693384 100644 --- a/java-spiffe-core/README.md +++ b/java-spiffe-core/README.md @@ -32,7 +32,7 @@ The socket endpoint address is configured through the environment variable `SPIF configure it is by providing an `X509SourceOptions` instance to the `newSource` method: ``` - X509Source.X509SourceOptions x509SourceOptions = X509Source.X509SourceOptions + DefaultX509Source.X509SourceOptions x509SourceOptions = DefaultX509Source.X509SourceOptions .builder() .spiffeSocketPath("unix:/tmp/agent-other.sock") .picker(list -> list.get(list.size()-1))