- java.lang.Object
-
- org.apache.jena.rdfconnection.LibSec
-
public class LibSec extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LibSec()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.net.Authenticatorauthenticator(java.lang.String user, java.lang.String password)Construct anAuthenticatorto hold user and passwordstatic java.net.http.HttpClienthttpClient(AuthSetup authSetup)static voidwithAuth(java.lang.String urlStr, AuthSetup auth, java.util.function.Consumer<RDFConnection> action)
-
-
-
Method Detail
-
authenticator
public static java.net.Authenticator authenticator(java.lang.String user, java.lang.String password)Construct anAuthenticatorto hold user and password
-
httpClient
public static java.net.http.HttpClient httpClient(AuthSetup authSetup)
-
withAuth
public static void withAuth(java.lang.String urlStr, AuthSetup auth, java.util.function.Consumer<RDFConnection> action)
-
-