text: public boolean get(URIish uri, CredentialItem... items)throws UnsupportedCredentialItem {for (CredentialItem i : items) {if (i instanceof CredentialItem.Username) {((CredentialItem.Username) i).setValue(username);continue;}if (i instanceof CredentialItem.Password) {((CredentialItem.Password) i).setValue(password);continue;}if (i instanceof CredentialItem.StringType) {if (i.getPromptText().equals("Password: ")) { ((CredentialItem.StringType) i).setValue(new String(password));continue;}}throw new UnsupportedCredentialItem(uri, i.getClass().getName()+ ":" + i.getPromptText()); }return true;}