@Test
	public void testMaskStreamDefinitionWithCustomNamedPasswordParameterPrefixOnly() {
		String maskedPassword = PasswordUtils.maskPasswordsInDefinition("time | cpp --mypassword=123 | null");
		assertEquals(
				"time | cpp --mypassword=*** | null",
				maskedPassword);
	}
A basic stream definition parameter (parameter in middle of stream) called "password" with value wrapped in quotes should have its value masked
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/PasswordUtilsTests.java