This class is considered usable by external developers but its contracts have not stabilized.
Experimental APIs may be changed at any time before being marked
@Internal
or
@PublicApi
.
Class Overview
Currently logged user resource
Summary
Public Constructors |
|
CurrentUserResource(UserUtil userUtil, UserManager userManager, PasswordPolicyManager passwordPolicyManager, EventPublisher eventPublisher, I18nHelper i18n, EmailFormatter emailFormatter, JiraAuthenticationContext authContext, TimeZoneManager timeZoneManager, AvatarService avatarService, JiraBaseUrls jiraBaseUrls, LoginService loginService, I18nHelper.BeanFactory beanFactory, JiraAvatarSupport jiraAvatarSupport, ApplicationRoleBeanConverter applicationRoleBeanConverter, ApplicationRoleManager applicationRoleManager)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
Response
changeMyPassword
(PasswordBean passwordBean)
public
Response
getUser
()
Returns currently logged user. This resource cannot be accessed anonymously.
public
Response
updateUser
(UserWriteBean userBean)
Modify currently logged user. The "value" fields present will override the existing value.
Fields skipped in request will not be changed. Only email and display name can be change that way.
Requires user password.