Table of Contents

Class JaasContext

Namespace
Org.Apache.Kafka.Common.Security
Assembly
MASES.KNet.dll
public class JaasContext : JVMBridgeBase<JaasContext>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
Inheritance
JaasContext
Implements

Constructors

JaasContext(String, Type, Configuration, Password)

public JaasContext(String arg0, JaasContext.Type arg1, Configuration arg2, Password arg3)

Parameters

arg0 String

String

arg1 JaasContext.Type

JaasContext.Type

arg2 Configuration

Configuration

arg3 Password

Password

JaasContext(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public JaasContext(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

ConfigEntryOption(List<AppConfigurationEntry>, String, String)

public static String ConfigEntryOption(List<AppConfigurationEntry> arg0, String arg1, String arg2)

Parameters

arg0 List<AppConfigurationEntry>

List

arg1 String

String

arg2 String

String

Returns

String

String

Configuration()

public Configuration Configuration()

Returns

Configuration

Configuration

ConfigurationEntries()

public List<AppConfigurationEntry> ConfigurationEntries()

Returns

List<AppConfigurationEntry>

List

CreatePoolableInstance(String, Type, Configuration, Password)

HPA initializer for JaasContext(Java.Lang.String arg0, Org.Apache.Kafka.Common.Security.JaasContext.Type arg1, Javax.Security.Auth.Login.Configuration arg2, Org.Apache.Kafka.Common.Config.Types.Password arg3)

public static JaasContext CreatePoolableInstance(String arg0, JaasContext.Type arg1, Configuration arg2, Password arg3)

Parameters

arg0 String
arg1 JaasContext.Type
arg2 Configuration
arg3 Password

Returns

JaasContext

DynamicJaasConfig()

public Password DynamicJaasConfig()

Returns

Password

Password

LoadClientContext(Map<String, object>)

public static JaasContext LoadClientContext(Map<String, object> arg0)

Parameters

arg0 Map<String, object>

Map

Returns

JaasContext

JaasContext

Name()

public String Name()

Returns

String

String

TypeMethod()

public JaasContext.Type TypeMethod()

Returns

JaasContext.Type

JaasContext.Type