Uses of Class
com.tuladb.Auth
Packages that use Auth
-
Uses of Auth in com.tuladb
Methods in com.tuladb that return AuthModifier and TypeMethodDescriptionAuth.allowInsecure(boolean allow) A copy that may (or may not) be sent over a non-TLS connection.static AuthAuth.apiKey(byte[] key) static Authstatic AuthAuth.bearer(byte[] token) static Authstatic AuthAuth.of(int type, byte[] credential) credentialis copied.Methods in com.tuladb with parameters of type AuthModifier and TypeMethodDescriptionLedgerClient.authenticate(Auth credential) Send one MSG_AUTH on the open connection, switching its principal for every later request.Authenticate every connection this client opens with MSG_AUTH (seeAuth):LedgerClient.connect()and everyLedgerClient.reconnect()send it right after the TCP connect / TLS handshake, before any request, and fail withLedgerClient.LedgerAuthExceptionif the engine refuses it.Constructors in com.tuladb with parameters of type AuthModifierConstructorDescriptionLedgerClientPool(List<SmartLedgerClient.NodeEndpoint> nodes, int size, LedgerClient.Timeouts timeouts, boolean useIso20022RefSize, int retryAttempts, LedgerClient.TlsOptions tlsOptions, SmartLedgerClient.RoutePolicy routePolicy, SmartLedgerClient.NodeEndpoint pinnedNode, int pipelineDepth, long acquireTimeoutMs, Auth auth) As above, authenticating every member connection with MSG_AUTH (Auth; null = anonymous).SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint> nodes, LedgerClient.Timeouts timeouts, boolean useIso20022RefSize, int retryAttempts, LedgerClient.TlsOptions tlsOptions, SmartLedgerClient.RoutePolicy routePolicy, SmartLedgerClient.NodeEndpoint pinnedNode, Auth auth) As above, authenticating every node connection with MSG_AUTH (Auth; null = anonymous).