EapSessionConfig.EapMsChapV2Config


public static class EapSessionConfig.EapMsChapV2Config
extends EapSessionConfig.EapMethodConfig

java.lang.Object
   ↳ android.net.eap.EapSessionConfig.EapMethodConfig
     ↳ android.net.eap.EapSessionConfig.EapMsChapV2Config


EapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session.

Summary

Inherited constants

int EAP_TYPE_AKA

EAP-Type value for the EAP-AKA method.

int EAP_TYPE_AKA_PRIME

EAP-Type value for the EAP-AKA' method.

int EAP_TYPE_MSCHAP_V2

EAP-Type value for the EAP-MS-CHAPv2 method.

int EAP_TYPE_SIM

EAP-Type value for the EAP-SIM method.

int EAP_TYPE_TTLS

EAP-Type value for the EAP-TTLS method.

Public methods

String getPassword()

Retrieves the password

String getUsername()

Retrieves the username

Inherited methods

int getMethodType()

Retrieves the EAP method type

Object clone()

Creates and returns a copy of this object.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

void finalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

final Class<?> getClass()

Returns the runtime class of this Object.

int hashCode()

Returns a hash code value for the object.

final void notify()

Wakes up a single thread that is waiting on this object's monitor.

final void notifyAll()

Wakes up all threads that are waiting on this object's monitor.

String toString()

Returns a string representation of the object.

final void wait(long timeoutMillis, int nanos)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait(long timeoutMillis)

Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed.

final void wait()

Causes the current thread to wait until it is awakened, typically by being notified or interrupted.

Public methods

getPassword

Added in API level 31
public String getPassword ()

Retrieves the password

Returns
String the password to be used by MSCHAPV2 This value cannot be null.

getUsername

Added in API level 31
public String getUsername ()

Retrieves the username

Returns
String the username to be used by MSCHAPV2 This value cannot be null.