EapSessionConfig
  public
  
  final
  
  class
  EapSessionConfig
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.net.eap.EapSessionConfig | 
EapSessionConfig represents a container for EAP method configuration.
The EAP authentication server decides which EAP method is used, so clients are encouraged to provide configs for several EAP methods.
Summary
| Nested classes | |
|---|---|
| 
        
        
        
        
        class | EapSessionConfig.BuilderThis class can be used to incrementally construct an  | 
| 
        
        
        
        
        class | EapSessionConfig.EapAkaConfigEapAkaConfig represents the configs needed for an EAP AKA session. | 
| 
        
        
        
        
        class | EapSessionConfig.EapAkaOptionEapAkaOption represents optional configurations for EAP AKA authentication. | 
| 
        
        
        
        
        class | EapSessionConfig.EapAkaPrimeConfigEapAkaPrimeConfig represents the configs needed for an EAP-AKA' session. | 
| 
        
        
        
        
        class | EapSessionConfig.EapMethodConfigEapMethodConfig represents a generic EAP method configuration. | 
| 
        
        
        
        
        class | EapSessionConfig.EapMsChapV2ConfigEapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session. | 
| 
        
        
        
        
        class | EapSessionConfig.EapSimConfigEapSimConfig represents the configs needed for an EAP SIM session. | 
| 
        
        
        
        
        class | EapSessionConfig.EapTtlsConfigEapTtlsConfig represents the configs needed for an EAP-TTLS session. | 
| Public methods | |
|---|---|
| 
        
        
        
        
        
        EapSessionConfig.EapAkaConfig | 
      getEapAkaConfig()
      Retrieves configuration for EAP AKA | 
| 
        
        
        
        
        
        EapSessionConfig.EapAkaPrimeConfig | 
      getEapAkaPrimeConfig()
      Retrieves configuration for EAP AKA' | 
| 
        
        
        
        
        
        byte[] | 
      getEapIdentity()
      Retrieves client's EAP Identity | 
| 
        
        
        
        
        
        EapSessionConfig.EapMsChapV2Config | 
      getEapMsChapV2Config()
      Retrieves configuration for EAP MSCHAPV2 | 
| 
        
        
        
        
        
        EapSessionConfig.EapSimConfig | 
      getEapSimConfig()
      Retrieves configuration for EAP SIM | 
| 
        
        
        
        
        
        EapSessionConfig.EapTtlsConfig | 
      getEapTtlsConfig()
      Retrieves configuration for EAP-TTLS | 
| Inherited methods | |
|---|---|
Public methods
getEapAkaConfig
public EapSessionConfig.EapAkaConfig getEapAkaConfig ()
Retrieves configuration for EAP AKA
| Returns | |
|---|---|
| EapSessionConfig.EapAkaConfig | the configuration for EAP AKA, or null if it was not set | 
getEapAkaPrimeConfig
public EapSessionConfig.EapAkaPrimeConfig getEapAkaPrimeConfig ()
Retrieves configuration for EAP AKA'
| Returns | |
|---|---|
| EapSessionConfig.EapAkaPrimeConfig | the configuration for EAP AKA', or null if it was not set | 
getEapIdentity
public byte[] getEapIdentity ()
Retrieves client's EAP Identity
| Returns | |
|---|---|
| byte[] | This value cannot be null. | 
getEapMsChapV2Config
public EapSessionConfig.EapMsChapV2Config getEapMsChapV2Config ()
Retrieves configuration for EAP MSCHAPV2
| Returns | |
|---|---|
| EapSessionConfig.EapMsChapV2Config | the configuration for EAP MSCHAPV2, or null if it was not set | 
getEapSimConfig
public EapSessionConfig.EapSimConfig getEapSimConfig ()
Retrieves configuration for EAP SIM
| Returns | |
|---|---|
| EapSessionConfig.EapSimConfig | the configuration for EAP SIM, or null if it was not set | 
getEapTtlsConfig
public EapSessionConfig.EapTtlsConfig getEapTtlsConfig ()
Retrieves configuration for EAP-TTLS
| Returns | |
|---|---|
| EapSessionConfig.EapTtlsConfig | the configuration for EAP-TTLS, or null if it was not set | 
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
