Table of Contents

Class LoginContext

Namespace
Javax.Security.Auth.Login
Assembly
MASES.JNet.dll
public class LoginContext : JVMBridgeBase<LoginContext>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
LoginContext
Implements
Inherited Members
Extension Methods

Constructors

LoginContext()

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

public LoginContext()

LoginContext(String)

public LoginContext(String arg0)

Parameters

arg0 String

String

Exceptions

LoginException

LoginContext(String, CallbackHandler)

public LoginContext(String arg0, CallbackHandler arg1)

Parameters

arg0 String

String

arg1 CallbackHandler

CallbackHandler

Exceptions

LoginException

LoginContext(String, Subject)

public LoginContext(String arg0, Subject arg1)

Parameters

arg0 String

String

arg1 Subject

Subject

Exceptions

LoginException

LoginContext(String, Subject, CallbackHandler)

public LoginContext(String arg0, Subject arg1, CallbackHandler arg2)

Parameters

arg0 String

String

arg1 Subject

Subject

arg2 CallbackHandler

CallbackHandler

Exceptions

LoginException

LoginContext(String, Subject, CallbackHandler, Configuration)

public LoginContext(String arg0, Subject arg1, CallbackHandler arg2, Configuration arg3)

Parameters

arg0 String

String

arg1 Subject

Subject

arg2 CallbackHandler

CallbackHandler

arg3 Configuration

Configuration

Exceptions

LoginException

LoginContext(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 LoginContext(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

Subject

public Subject Subject { get; }

Property Value

Subject

Methods

Login()

public void Login()

Exceptions

LoginException

Logout()

public void Logout()

Exceptions

LoginException