protected void setClient(String username, String password) {
client = new JerseyJiraRestClient(jiraUri, new BasicHttpAuthenticationHandler(username, password));
}
protected void setAnonymousMode() {
client = new JerseyJiraRestClient(jiraUri, new AnonymousAuthenticationHandler());
}