Class Authenticator
public class Authenticator : JVMBridgeBase<Authenticator>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
Authenticator
- Implements
- Inherited Members
-
JVMBridgeBase<Authenticator>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<Authenticator>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])JVMBridgeBase.ReferenceEqualsJVM(JVMBridgeBase, JVMBridgeBase)JVMBridgeBase.Equals(IJVMBridgeBase)
- Extension Methods
Constructors
Authenticator()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Authenticator class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Authenticator()
Authenticator(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
[Obsolete("Authenticator class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Authenticator(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
Default
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/Authenticator.html#getDefault() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/Authenticator.html#setDefault(java.net.Authenticator)
public static Authenticator Default { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements Closeable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
RequestPasswordAuthentication(String, InetAddress, int, String, String, String)
public static PasswordAuthentication RequestPasswordAuthentication(String arg0, InetAddress arg1, int arg2, String arg3, String arg4, String arg5)
Parameters
Returns
RequestPasswordAuthentication(String, InetAddress, int, String, String, String, URL, RequestorType)
public static PasswordAuthentication RequestPasswordAuthentication(String arg0, InetAddress arg1, int arg2, String arg3, String arg4, String arg5, URL arg6, Authenticator.RequestorType arg7)
Parameters
arg0Stringarg1InetAddressarg2intarg3Stringarg4Stringarg5Stringarg6URLarg7Authenticator.RequestorType
Returns
RequestPasswordAuthentication(Authenticator, String, InetAddress, int, String, String, String, URL, RequestorType)
public static PasswordAuthentication RequestPasswordAuthentication(Authenticator arg0, String arg1, InetAddress arg2, int arg3, String arg4, String arg5, String arg6, URL arg7, Authenticator.RequestorType arg8)
Parameters
arg0Authenticatorarg1Stringarg2InetAddressarg3intarg4Stringarg5Stringarg6Stringarg7URLarg8Authenticator.RequestorType
Returns
RequestPasswordAuthentication(InetAddress, int, String, String, String)
public static PasswordAuthentication RequestPasswordAuthentication(InetAddress arg0, int arg1, String arg2, String arg3, String arg4)
Parameters
arg0InetAddressarg1intarg2Stringarg3Stringarg4String
Returns
RequestPasswordAuthenticationInstance(String, InetAddress, int, String, String, String, URL, RequestorType)
public PasswordAuthentication RequestPasswordAuthenticationInstance(String arg0, InetAddress arg1, int arg2, String arg3, String arg4, String arg5, URL arg6, Authenticator.RequestorType arg7)
Parameters
arg0Stringarg1InetAddressarg2intarg3Stringarg4Stringarg5Stringarg6URLarg7Authenticator.RequestorType