/** * Set the connection username. * * @param username * @return this */ public ConnectionBuilder username(String username) { prefs.setUsername(username); return this; }
.from(Paths.get(FileOps.touch(prefs.toString()))); ccp.setPort(getClientPort()); ccp.setUsername("admin"); ccp.setPassword("admin".toCharArray());