| | |
| | | user.accountType = getAccountType();
|
| | | user.displayName = current.user.firstname + " " + current.user.lastname;
|
| | | user.emailAddress = current.user.mail;
|
| | | user.password = ExternalAccount;
|
| | | user.password = Constants.EXTERNAL_ACCOUNT;
|
| | | if (!StringUtils.isEmpty(current.user.login)) {
|
| | | // only admin users can get login name
|
| | | // evidently this is an undocumented behavior of Redmine
|
| | |
| | |
|
| | | String url = this.settings.getString(Keys.realm.redmine.url, "");
|
| | | if (!url.endsWith("/")) {
|
| | | url.concat("/");
|
| | | url = url.concat("/");
|
| | | }
|
| | | HttpURLConnection http;
|
| | | if (username == null) {
|