@ExperimentalApi public class CurrentUserResource extends Object
Constructor and Description |
---|
CurrentUserResource(UserUtil userUtil,
UserManager userManager,
PasswordPolicyManager passwordPolicyManager,
com.atlassian.event.api.EventPublisher eventPublisher,
I18nHelper i18n,
EmailFormatter emailFormatter,
JiraAuthenticationContext authContext,
TimeZoneManager timeZoneManager,
AvatarService avatarService,
JiraBaseUrls jiraBaseUrls,
LoginService loginService,
I18nHelper.BeanFactory beanFactory,
ApplicationRoleBeanConverter applicationRoleBeanConverter,
ApplicationRoleManager applicationRoleManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
changeMyPassword(PasswordBean passwordBean)
Modify caller password.
|
javax.ws.rs.core.Response |
getUser()
Returns currently logged user.
|
javax.ws.rs.core.Response |
updateUser(UserWriteBean userBean)
Modify currently logged user.
|
public CurrentUserResource(UserUtil userUtil, UserManager userManager, PasswordPolicyManager passwordPolicyManager, com.atlassian.event.api.EventPublisher eventPublisher, I18nHelper i18n, EmailFormatter emailFormatter, JiraAuthenticationContext authContext, TimeZoneManager timeZoneManager, AvatarService avatarService, JiraBaseUrls jiraBaseUrls, LoginService loginService, I18nHelper.BeanFactory beanFactory, ApplicationRoleBeanConverter applicationRoleBeanConverter, ApplicationRoleManager applicationRoleManager)
public javax.ws.rs.core.Response getUser()
public javax.ws.rs.core.Response updateUser(UserWriteBean userBean)
public javax.ws.rs.core.Response changeMyPassword(PasswordBean passwordBean)
Copyright © 2002-2019 Atlassian. All Rights Reserved.