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.Builder
        This class can be used to incrementally construct an   | 
    
        
        
        
        
        class | 
      
        EapSessionConfig.EapAkaConfig
        EapAkaConfig represents the configs needed for an EAP AKA session.  | 
    
        
        
        
        
        class | 
      
        EapSessionConfig.EapAkaOption
        EapAkaOption represents optional configurations for EAP AKA authentication.  | 
    
        
        
        
        
        class | 
      
        EapSessionConfig.EapAkaPrimeConfig
        EapAkaPrimeConfig represents the configs needed for an EAP-AKA' session.  | 
    
        
        
        
        
        class | 
      
        EapSessionConfig.EapMethodConfig
        EapMethodConfig represents a generic EAP method configuration.  | 
    
        
        
        
        
        class | 
      
        EapSessionConfig.EapMsChapV2Config
        EapMsChapV2Config represents the configs needed for an EAP MSCHAPv2 session.  | 
    
        
        
        
        
        class | 
      
        EapSessionConfig.EapSimConfig
        EapSimConfig represents the configs needed for an EAP SIM session.  | 
    
        
        
        
        
        class | 
      
        EapSessionConfig.EapTtlsConfig
        EapTtlsConfig 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.