@Test
	public void testMaskStreamDefinitionWithPasswordParameterAtEndWrappedInQuotesContainingSpaces() {
		String maskedPassword = PasswordUtils.maskPasswordsInDefinition(
				"filejdbc --driverClassName=org.postgresql.Driver --password=\"ab  cd\"");
		assertEquals("filejdbc --driverClassName=org.postgresql.Driver --password=\"******\"", maskedPassword);
	}
A basic stream definition parameter (parameter at end) called "password" should have its value masked. The value contains spaces.
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/PasswordUtilsTests.java