Table of Contents

Class TokenInformation

Namespace
Org.Apache.Kafka.Common.Security.Token.Delegation
Assembly
MASES.KNet.dll
public class TokenInformation : JVMBridgeBase<TokenInformation>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<TokenInformation>
TokenInformation
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<TokenInformation>.IsAssignableFrom(IJavaType)
JVMBridgeBase<TokenInformation>.IsAssignableFrom<T>()
JVMBridgeBase<TokenInformation>.Execute<T>(params T[])
JVMBridgeBase<TokenInformation>.DynBridgeClazz
JVMBridgeBase<TokenInformation>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

TokenInformation()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public TokenInformation()

TokenInformation(String, KafkaPrincipal, Collection<KafkaPrincipal>, long, long, long)

public TokenInformation(String arg0, KafkaPrincipal arg1, Collection<KafkaPrincipal> arg2, long arg3, long arg4, long arg5)

Parameters

arg0 String

String

arg1 KafkaPrincipal

KafkaPrincipal

arg2 Collection<KafkaPrincipal>

Collection

arg3 long

long

arg4 long

long

arg5 long

long

TokenInformation(String, KafkaPrincipal, KafkaPrincipal, Collection<KafkaPrincipal>, long, long, long)

public TokenInformation(String arg0, KafkaPrincipal arg1, KafkaPrincipal arg2, Collection<KafkaPrincipal> arg3, long arg4, long arg5, long arg6)

Parameters

arg0 String

String

arg1 KafkaPrincipal

KafkaPrincipal

arg2 KafkaPrincipal

KafkaPrincipal

arg3 Collection<KafkaPrincipal>

Collection

arg4 long

long

arg5 long

long

arg6 long

long

TokenInformation(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public TokenInformation(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

ExpiryTimestamp()

public long ExpiryTimestamp()

Returns

long

long

FromRecord(String, KafkaPrincipal, KafkaPrincipal, Collection<KafkaPrincipal>, long, long, long)

public static TokenInformation FromRecord(String arg0, KafkaPrincipal arg1, KafkaPrincipal arg2, Collection<KafkaPrincipal> arg3, long arg4, long arg5, long arg6)

Parameters

arg0 String

String

arg1 KafkaPrincipal

KafkaPrincipal

arg2 KafkaPrincipal

KafkaPrincipal

arg3 Collection<KafkaPrincipal>

Collection

arg4 long

long

arg5 long

long

arg6 long

long

Returns

TokenInformation

TokenInformation

IssueTimestamp()

public long IssueTimestamp()

Returns

long

long

MaxTimestamp()

public long MaxTimestamp()

Returns

long

long

Owner()

public KafkaPrincipal Owner()

Returns

KafkaPrincipal

KafkaPrincipal

OwnerAsString()

public String OwnerAsString()

Returns

String

String

OwnerOrRenewer(KafkaPrincipal)

public bool OwnerOrRenewer(KafkaPrincipal arg0)

Parameters

arg0 KafkaPrincipal

KafkaPrincipal

Returns

bool

bool

Renewers()

public Collection<KafkaPrincipal> Renewers()

Returns

Collection<KafkaPrincipal>

Collection

RenewersAsString()

public Collection<String> RenewersAsString()

Returns

Collection<String>

Collection

SetExpiryTimestamp(long)

public void SetExpiryTimestamp(long arg0)

Parameters

arg0 long

long

TokenId()

public String TokenId()

Returns

String

String

TokenRequester()

public KafkaPrincipal TokenRequester()

Returns

KafkaPrincipal

KafkaPrincipal

TokenRequesterAsString()

public String TokenRequesterAsString()

Returns

String

String