public static void startupWithSecurityAndFullPermissions() throws InterruptedException, IOException {
		System.setProperty("security.basic.enabled", "true");
		System.setProperty("security.user.name", "admin");
		System.setProperty("security.user.password", "whosThere");
		System.setProperty("security.user.role", "ADMIN, VIEW, CREATE");

		doStartUp();

		setTargetWithSecurity(shell, adminPort);

	}
Used to capture currently executing test method.
spring-xd-shell/src/test/java/org/springframework/xd/shell/AbstractShellIntegrationTest.java