@Namespace(value="arrow::flight") @Properties(inherit=arrow_flight.class) public class NoOpAuthHandler extends ServerAuthHandler
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NoOpAuthHandler()
Default native constructor.
|
NoOpAuthHandler(long size)
Native array allocator.
|
NoOpAuthHandler(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
Status |
Authenticate(ServerAuthSender outgoing,
ServerAuthReader incoming)
\brief Authenticate the client on initial connection.
|
NoOpAuthHandler |
getPointer(long i) |
Status |
IsValid(BytePointer token,
BytePointer peer_identity) |
Status |
IsValid(String token,
BytePointer peer_identity)
\brief Validate a per-call client token.
|
NoOpAuthHandler |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public NoOpAuthHandler()
public NoOpAuthHandler(long size)
Pointer.position(long)
.public NoOpAuthHandler(Pointer p)
Pointer(Pointer)
.public NoOpAuthHandler position(long position)
public NoOpAuthHandler getPointer(long i)
getPointer
in class Pointer
@ByVal public Status Authenticate(ServerAuthSender outgoing, ServerAuthReader incoming)
ServerAuthHandler
Authenticate
in class ServerAuthHandler
@ByVal public Status IsValid(@StdString String token, @StdString @Cast(value={"char*","std::string*"}) BytePointer peer_identity)
ServerAuthHandler
IsValid
in class ServerAuthHandler
token
- [in] The client token. May be the empty string if
the client does not provide a token.peer_identity
- [out] The identity of the peer, if this
authentication method supports it.@ByVal public Status IsValid(@StdString BytePointer token, @StdString @Cast(value={"char*","std::string*"}) BytePointer peer_identity)
IsValid
in class ServerAuthHandler
Copyright © 2022. All rights reserved.