extensions/proxy/src/main/java/uk/co/tfd/sm/proxy/ProxyClientServiceImpl.java
protected void activate(Map<String, Object> properties) throws Exception {
		configProperties = properties;
		String[] safePostProcessorNames = (String[]) configProperties
				.get(SAFE_POSTPROCESSORS);
		if (safePostProcessorNames == null) {
			safeOpenProcessors.add("rss");
			safeOpenProcessors.add("trustedLoginTokenProxyPostProcessor");
		} else {
			for (String pp : safePostProcessorNames) {
				safeOpenProcessors.add(pp);
			}
		}

		// allow communications via a proxy server if command line
		// java parameters http.proxyHost,http.proxyPort,http.proxyUser,
		// http.proxyPassword have been provided.
		String proxyHost = System.getProperty("http.proxyHost", "");
		if (!proxyHost.equals("")) {
			useJreProxy = true;
		}
	}
protected void activate(Map<String, Object> properties) throws Exception {
		configProperties = properties;
		String[] safePostProcessorNames = (String[]) configProperties
				.get(SAFE_POSTPROCESSORS);
		if (safePostProcessorNames == null) {
			safeOpenProcessors.add("rss");
			safeOpenProcessors.add("trustedLoginTokenProxyPostProcessor");
		} else {
			for (String pp : safePostProcessorNames) {
				safeOpenProcessors.add(pp);
			}
		}

		// allow communications via a proxy server if command line
		// java parameters http.proxyHost,http.proxyPort,http.proxyUser,
		// http.proxyPassword have been provided.
		String proxyHost = System.getProperty("http.proxyHost", "");
		if (!proxyHost.equals("")) {
			useJreProxy = true;
		}
	}
protected void activate ( Map < String , Object > properties ) throws Exception { configProperties = properties ; String [ ] safePostProcessorNames = ( String [ ] ) configProperties . get ( SAFE_POSTPROCESSORS ) ; if ( safePostProcessorNames == null ) { safeOpenProcessors . add ( "rss" ) ; safeOpenProcessors . add ( "trustedLoginTokenProxyPostProcessor" ) ; } else { for ( String pp : safePostProcessorNames ) { safeOpenProcessors . add ( pp ) ; } } // allow communications via a proxy server if command line // java parameters http.proxyHost,http.proxyPort,http.proxyUser, // http.proxyPassword have been provided. String proxyHost = System . getProperty ( "http.proxyHost" , "" ) ; if ( ! proxyHost . equals ( "" ) ) { useJreProxy = true ; } }
Create resources used by this component.

@param ctx
@throws Exception
Create resources used by this component .