@Override
  public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) {
    if (!StringUtils.isEmpty(keyAlias)) {
      PrivateKey key = delegate.getPrivateKey(keyAlias);
      return getKeyAlias(keyType, key);
    }
    return delegate.chooseServerAlias(keyType, issuers, socket);

  }
Constructor.

@param mgr The X509KeyManager used as a delegate
@param keyAlias The alias name of the server's keypair and supporting certificate chain
geode-core/src/main/java/org/apache/geode/internal/net/filewatch/ExtendedAliasKeyManager.java