Table of Contents

Class JaasContext

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

Constructors

JaasContext()

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

public JaasContext()

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(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 JaasContext(params object[] args)

Parameters

args object[]

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 Closeable

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

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