1
0
Fork 0

Remembering session token for TokenCredentials

master
Gleb Gadyatskiy 2015-04-24 13:24:32 -04:00
parent f8d327400a
commit 84315c22da
1 changed files with 2 additions and 1 deletions

View File

@ -63,11 +63,12 @@ public class JiraClient {
restclient = new RestClient(httpclient, creds, URI.create(uri));
if (creds != null)
if (creds != null) {
username = creds.getLogonName();
//intialize connection if required
creds.initialize(restclient);
}
}
/**
* Creates a new issue in the given project.