Class 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.Authenticator authenticator​(java.lang.String user, java.lang.String password)
      Construct an Authenticator to hold user and password
      static java.net.http.HttpClient httpClient​(AuthSetup authSetup)  
      static void withAuth​(java.lang.String urlStr, AuthSetup auth, java.util.function.Consumer<RDFConnection> action)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LibSec

        public LibSec()
    • Method Detail

      • authenticator

        public static java.net.Authenticator authenticator​(java.lang.String user,
                                                           java.lang.String password)
        Construct an Authenticator to 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)