Bug 145716 [deploy]WORKING_FOLDER_ACCESS_ONLY doesn't work for reports inside WebViewerExample folder
Description: WORKING_FOLDER_ACCESS_ONLY doesn't restrict report inside WebViewerExample folder Steps to reproduce: 1. Deploy birt 2. Set BIRT_VIEWER_WORKING_FOLDER to local folder using absolute path 3. Set WORKING_FOLDER_ACCESS_ONLY to true 4. Preview report inside WebViewerExample folder using relative path Expected result: Preview fails because the report isn't under working folder Actual result: Preview is ok
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
*            String
	 * @return String
	 */
	private String getParameterName( String configVarName )
			throws ReportServiceException
	{
		String paramName = null;
		
		List parameters = getParameterList( );
		if ( parameters != null )
		{
			for ( int i = 0; i < parameters.size( ); i++ )
			{
				ScalarParameterHandle parameter = null;
				if ( parameters.get( i ) instanceof ScalarParameterHandle )
				{
					parameter = ( (ScalarParameterHandle) parameters.get( i ) );
				}
				
				String curName = null;
				if ( parameter != null && parameter.getName( ) != null )
				{
					curName = parameter.getName( ) + "_" + parameter.getID( ); 
				}
				
				if ( curName != null
						&& curName.equalsIgnoreCase( configVarName ) )
				{
					paramName = parameter.getName( );
					break;