EAPTLSAuthenticator Keystore restriction

David,

EAPTLSAuthenticator currently allows only Keystore file. I am using a database Keystore need access to set the KeyManager and TrustManager array objects.

Could you please apply the code snippet below to EAPTLSAuthenticator class?


private KeyManager keyManagers[] = null;
private TrustManager trustManagers[] = null;

public KeyManager[] getKeyManagers() {
return keyManagers;
}

public void setKeyManagers(KeyManager[] keyManagers) {
this.keyManagers = keyManagers;
}

public TrustManager[] getTrustManagers() {
return trustManagers;
}

public void setTrustManagers(TrustManager[] trustManagers) {
this.trustManagers = trustManagers;
}

/**
* Initializs the SSL layer.
* @throws Exception
* @throws FileNotFoundException
*/
public void init() throws RadiusException
{
try
{
// KeyManager keyManagers[] = null;
// TrustManager trustManagers[] = null;

Thanks.