@Test
	public void testMaskStreamDefinitionWithPasswordParameterInMiddle() {
		String maskedPassword = PasswordUtils.maskPasswordsInDefinition(
				"filejdbc --password=12345678 --driverClassName=org.postgresql.Driver");
		assertEquals("filejdbc --password=******** --driverClassName=org.postgresql.Driver", maskedPassword);
	}
A basic stream definition parameter (parameter in middle of stream) called "password" should have its value masked.
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/PasswordUtilsTests.java