{
@Override
public ProxyServerLogin authenticationRequired( ServerType arg0 )
{
Settings settings = SoapUI.getSettings();
PropertyExpansionContext context = null;
String proxyUsername = PropertyExpander.expandProperties( context,
settings.getString( ProxySettings.USERNAME, null ) );
String proxyPassword = PropertyExpander.expandProperties( context,
settings.getString( ProxySettings.PASSWORD, null ) );
return new ProxyServerLogin( proxyUsername, proxyPassword );
}
} );
proxyAuthenticationInitialized = true;
}
if( ProxyUtils.isProxyEnabled() )
{
Settings settings = SoapUI.getSettings();
PropertyExpansionContext context = null;
// check system properties first
String proxyHost = System.getProperty( "http.proxyHost" );
String proxyPort = System.getProperty( "http.proxyPort" );