@Transactional public class DefaultUserAccessor extends DefaultUserAccessor implements UserAccessorInternal
| Modifier and Type | Field and Description |
|---|---|
static int |
BULK_FETCH_GROUP_BATCH_SIZE |
static int |
BULK_FETCH_USERS_BATCH_SIZE |
defaultGroupDEFAULT_GROUP_NAMES, GROUP_CONFLUENCE_ADMINS, GROUP_CONFLUENCE_USERS, PROFILE_PICTURE_BUILTIN_PATH| Constructor and Description |
|---|
DefaultUserAccessor(com.atlassian.user.configuration.RepositoryAccessor repositoryAccessor,
SpacePermissionManagerInternal spacePermissionManager,
ContentEntityManager contentEntityManager,
NotificationManager notificationManager,
PersonalInformationManager personalInformationManager,
UserChecker userChecker,
AttachmentManager attachmentManager,
com.atlassian.event.api.EventPublisher eventPublisher,
ContentPermissionManager contentPermissionManager,
PermissionManager permissionManager,
FollowManager followManager,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
DisabledUserManager disabledUserManager,
HibernateSessionManager sessionManager,
ConfluenceUserDao confluenceUserDao,
com.atlassian.user.UserManager backingUserManager,
SettingsManager settingsManager,
AvatarProviderAccessor avatarProviderAccessor,
ResourceAccessor resourceAccessor,
org.springframework.transaction.PlatformTransactionManager transactionManager,
UserMentionsContentReindexer userMentionsContentReindexer,
CrowdUserDirectoryHelper crowdUserDirectoryHelper,
SynchronizationManager synchronizationManager)
Deprecated.
since 7.17.5
|
DefaultUserAccessor(com.atlassian.user.configuration.RepositoryAccessor repositoryAccessor,
SpacePermissionManagerInternal spacePermissionManager,
ContentEntityManager contentEntityManager,
NotificationManager notificationManager,
PersonalInformationManager personalInformationManager,
UserChecker userChecker,
AttachmentManager attachmentManager,
com.atlassian.event.api.EventPublisher eventPublisher,
ContentPermissionManager contentPermissionManager,
PermissionManager permissionManager,
FollowManager followManager,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
DisabledUserManager disabledUserManager,
HibernateSessionManager sessionManager,
ConfluenceUserDao confluenceUserDao,
com.atlassian.user.UserManager backingUserManager,
SettingsManager settingsManager,
AvatarProviderAccessor avatarProviderAccessor,
ResourceAccessor resourceAccessor,
org.springframework.transaction.PlatformTransactionManager transactionManager,
UserMentionsContentReindexer userMentionsContentReindexer,
CrowdUserDirectoryHelper crowdUserDirectoryHelper,
SynchronizationManager synchronizationManager,
UserVerificationTokenManager userVerificationTokenManager) |
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.user.Group |
addGroup(String groupname)
Adds a group with the specified name.
|
void |
addMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
Adds the specified user to this group.
|
void |
alterPassword(com.atlassian.user.User user,
String plainTextPassword) |
void |
alterPassword(com.atlassian.user.User user,
String plainTextPassword,
String token) |
int |
countLicenseConsumingUsers()
Returns the number of users which have access to use Confluence AND consume a Confluence license.
|
int |
countUnsyncedUsers()
Get a count of all unsynced users in Confluence.
|
com.atlassian.user.Group |
createGroup(String groupname)
Method was added for consistency.
|
ConfluenceUser |
createUser(com.atlassian.user.User userTemplate,
com.atlassian.user.security.password.Credential credential) |
void |
deactivateUser(com.atlassian.user.User user)
Deactivate the specified user, which prevents them logging in.
|
boolean |
exists(String name)
Returns true if a user exists with the given username.
|
com.atlassian.user.search.SearchResult<com.atlassian.user.User> |
findUsers(com.atlassian.user.search.query.Query<com.atlassian.user.User> query) |
List<com.atlassian.user.User> |
findUsersAsList(com.atlassian.user.search.query.Query<com.atlassian.user.User> search) |
List<String> |
getAllDefaultGroupNames()
Deprecated.
Since 5.2. This method is vague and returns a collection containing the result of
Settings.getDefaultUsersGroup() and
UserAccessor.GROUP_CONFLUENCE_ADMINS. Clients should explicitly decide what they need and use that. |
ConfluenceUserPreferences |
getConfluenceUserPreferences(@Nullable com.atlassian.user.User user) |
Optional<ConfluenceUser> |
getExistingByApiUser(User user)
Retrieve the corresponding ConfluenceUser (if any) for a user, by user key or username
|
@Nullable ConfluenceUser |
getExistingUserByKey(com.atlassian.sal.api.user.UserKey key)
Returns the user with the specified user key, or
null if the user doesn't exist or the key is
null. |
@Nullable ConfluenceUser |
getExistingUserByPerson(@NonNull Person person)
Retrieve the corresponding ConfluenceUser (if any) for a Person, by username, or user key
|
com.atlassian.user.Group |
getGroup(String name)
Returns the group with the specified name, or
null if the user doesn't exist or the name is null. |
List<String> |
getGroupNames(com.atlassian.user.User user)
Gets the list of group names representing the groups the passed in user is a member of.
|
List<String> |
getGroupNamesForUserName(String userName)
Gets the list of group names representing the groups the passed in user is a member of.
|
List<com.atlassian.user.Group> |
getGroupsAsList() |
List<com.atlassian.user.Group> |
getGroupsByGroupNames(List<String> groupNames)
Returns a list of Group objects where the names match that of the provided list of group names.
|
ProfilePictureInfo |
getLogoForUser(@Nullable com.atlassian.user.User user) |
com.atlassian.user.search.page.Pager<String> |
getMemberNames(com.atlassian.user.Group group)
Returns a pager containing the usernames of users who are members of the specified group
(either directly or as a member of a nested group).
|
List<String> |
getMemberNamesAsList(com.atlassian.user.Group group)
Same as
UserAccessor.getMemberNames(com.atlassian.user.Group) but returns a List of user names as Strings
rather than a Pager. |
Iterable<ConfluenceUser> |
getMembers(com.atlassian.user.Group group)
Returns users who are members of the specified group
(either directly or as a member of a nested group).
|
String |
getNewUserDefaultGroupName()
Deprecated.
since 5.2. Use
Settings.getDefaultUsersGroup() via
SettingsManager.getGlobalSettings(). |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(ConfluenceUser user) |
com.opensymphony.module.propertyset.PropertySet |
getPropertySet(com.atlassian.user.User user) |
@Nullable ConfluenceUser |
getUserByKey(com.atlassian.sal.api.user.UserKey key)
Returns the user with the specified user key, or
null if the user has never existed or the key is
null. |
@Nullable ConfluenceUser |
getUserByName(String name)
Returns the ConfluenceUser with the supplied user name or null if the user doesn't exist or the supplied name is null.
|
List<String> |
getUserNamesWithConfluenceAccess()
Returns the names of all users with access to use Confluence.
|
com.atlassian.core.user.preferences.UserPreferences |
getUserPreferences(com.atlassian.user.User user) |
ProfilePictureInfo |
getUserProfilePicture(@Nullable com.atlassian.user.User user)
Retrieve the path to a user's personal picture
|
com.atlassian.user.search.SearchResult |
getUsersByEmail(String email) |
List<ConfluenceUser> |
getUsersByUserKeys(List<com.atlassian.sal.api.user.UserKey> userKeys)
Returns a list of ConfluenceUser with the supplied UserKeys or an empty list if the users do not exist.
|
com.atlassian.user.search.page.Pager<com.atlassian.user.User> |
getUsersWithConfluenceAccess()
Deprecated.
since 3.5.1. This method is very slow, use countUsersWithConfluenceAccess() if you need to know the number of users.
|
List<com.atlassian.user.Group> |
getWriteableGroups()
Gets all editable groups.
|
boolean |
isCrowdManaged(ConfluenceUser user)
Checks whether or not embedded Crowd manages/has knowledge of a given user
|
boolean |
isDeactivated(String username)
Returns true if the user with the specified username exists and is unable to log in, otherwise false.
|
boolean |
isDeactivated(com.atlassian.user.User user)
Returns true if the user exists and is unable to log in, otherwise false.
|
boolean |
isDeletedUser(ConfluenceUser user)
Check implementation is currently based on assumption that a deleted user is defined as
a user with the same user key and user name.
|
boolean |
isLicensedToAddMoreUsers() |
boolean |
isReadOnly(com.atlassian.user.Group group)
Returns
true if the group cannot be modified or removed. |
boolean |
isReadOnly(com.atlassian.user.User user)
Returns
true if the user cannot be modified or removed. |
boolean |
isSuperUser(com.atlassian.user.User user)
Return true if the user is an all-powerful super-user (member of the confluence-administrators group).
|
boolean |
isUnsyncedUser(ConfluenceUser user)
Checks whether or not a user is unsynced
|
boolean |
isUserRemovable(com.atlassian.user.User user) |
void |
reactivateUser(com.atlassian.user.User user)
Marks the specified user as active, which allows them to log in.
|
void |
removeGroup(com.atlassian.user.Group group)
Removes the specified group.
|
boolean |
removeMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
Removes the specified user from this group.
|
void |
removeUser(com.atlassian.user.User user)
Removes the specified user.
|
ConfluenceUser |
renameUser(ConfluenceUser user,
String newUsername)
Updates the username of the given user.
|
void |
savePersonalInformation(PersonalInformation newInfo,
PersonalInformation oldInfo) |
com.atlassian.user.search.page.Pager<ConfluenceUser> |
searchUnsyncedUsers(String searchParam)
Returns a list of all users for the given username search parameter that are unsynced: a user whose account has
been disconnected from an external directory, i.e.
|
void |
setUserProfilePicture(com.atlassian.user.User user,
Attachment attachment)
Set the user profile picture to the given attachment.
|
void |
setUserProfilePicture(com.atlassian.user.User user,
String imagePath)
Set the user profile picture to a built-in image.
|
addMembership, addUser, addUser, authenticate, findGroups, findGroups, findUsers, getAuthenticator, getEntityQueryParser, getGroupCreateIfNecessary, getGroupManager, getGroups, getGroups, getPropertySetFactory, getUser, getUserManager, getUserNames, getUsers, hasMembership, hasMembership, removeMembership, saveUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUseraddMembership, addUser, addUser, authenticate, getGroupCreateIfNecessary, getGroups, getGroups, getUserNames, getUsers, hasMembership, hasMembership, removeMembership, saveUserfindGroups, findGroups, findUsersforUserAccessorpublic static final int BULK_FETCH_USERS_BATCH_SIZE
public static final int BULK_FETCH_GROUP_BATCH_SIZE
public DefaultUserAccessor(com.atlassian.user.configuration.RepositoryAccessor repositoryAccessor,
SpacePermissionManagerInternal spacePermissionManager,
ContentEntityManager contentEntityManager,
NotificationManager notificationManager,
PersonalInformationManager personalInformationManager,
UserChecker userChecker,
AttachmentManager attachmentManager,
com.atlassian.event.api.EventPublisher eventPublisher,
ContentPermissionManager contentPermissionManager,
PermissionManager permissionManager,
FollowManager followManager,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
DisabledUserManager disabledUserManager,
HibernateSessionManager sessionManager,
ConfluenceUserDao confluenceUserDao,
com.atlassian.user.UserManager backingUserManager,
SettingsManager settingsManager,
AvatarProviderAccessor avatarProviderAccessor,
ResourceAccessor resourceAccessor,
org.springframework.transaction.PlatformTransactionManager transactionManager,
UserMentionsContentReindexer userMentionsContentReindexer,
CrowdUserDirectoryHelper crowdUserDirectoryHelper,
SynchronizationManager synchronizationManager,
UserVerificationTokenManager userVerificationTokenManager)
@Deprecated public DefaultUserAccessor(com.atlassian.user.configuration.RepositoryAccessor repositoryAccessor, SpacePermissionManagerInternal spacePermissionManager, ContentEntityManager contentEntityManager, NotificationManager notificationManager, PersonalInformationManager personalInformationManager, UserChecker userChecker, AttachmentManager attachmentManager, com.atlassian.event.api.EventPublisher eventPublisher, ContentPermissionManager contentPermissionManager, PermissionManager permissionManager, FollowManager followManager, com.atlassian.crowd.embedded.api.CrowdService crowdService, DisabledUserManager disabledUserManager, HibernateSessionManager sessionManager, ConfluenceUserDao confluenceUserDao, com.atlassian.user.UserManager backingUserManager, SettingsManager settingsManager, AvatarProviderAccessor avatarProviderAccessor, ResourceAccessor resourceAccessor, org.springframework.transaction.PlatformTransactionManager transactionManager, UserMentionsContentReindexer userMentionsContentReindexer, CrowdUserDirectoryHelper crowdUserDirectoryHelper, SynchronizationManager synchronizationManager)
public boolean isLicensedToAddMoreUsers()
isLicensedToAddMoreUsers in interface UserAccessorisLicensedToAddMoreUsers in class DefaultUserAccessorpublic boolean isUserRemovable(com.atlassian.user.User user)
throws com.atlassian.user.EntityException
isUserRemovable in interface UserAccessorisUserRemovable in class DefaultUserAccessorcom.atlassian.user.EntityExceptionpublic void addMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
addMembership in interface UserAccessoraddMembership in class DefaultUserAccessorInsufficientPrivilegeException - if the currently logged in user does not have the permissions to add this
user to this group. Check permissions using Permission.EDIT on PermissionManager on the group
first.public boolean removeMembership(com.atlassian.user.Group group,
com.atlassian.user.User user)
removeMembership in interface UserAccessorremoveMembership in class DefaultUserAccessorInsufficientPrivilegeException - if the currently logged in user does not have the permissions to remove
this user from this group. Check permissions using Permission.REMOVE and PermissionManager on the
group first.public @Nullable ConfluenceUser getUserByName(String name)
UserAccessorNote that user name lookups are case-insensitive, so the user you get back may not have exactly the same name as the name passed to this method.
getUserByName in interface ConfluenceUserResolvername - the user name of the userpublic @Nullable ConfluenceUser getUserByKey(com.atlassian.sal.api.user.UserKey key)
UserAccessornull if the user has never existed or the key is
null.
WARNING: This method can return deleted users. Use
UserAccessor.getExistingUserByKey(com.atlassian.sal.api.user.UserKey) to get only users that exist.
getUserByKey in interface ConfluenceUserResolverpublic boolean isDeletedUser(ConfluenceUser user)
ConfluenceUserDao.isDeletedUser(ConfluenceUser)isDeletedUser in interface UserAccessorInternaluser - the user to checkpublic boolean isUnsyncedUser(ConfluenceUser user)
UserAccessorInternalisUnsyncedUser in interface UserAccessorInternaluser - the user to checkpublic boolean isCrowdManaged(ConfluenceUser user)
UserAccessorInternalisCrowdManaged in interface UserAccessorInternalpublic @Nullable ConfluenceUser getExistingUserByKey(com.atlassian.sal.api.user.UserKey key)
UserAccessornull if the user doesn't exist or the key is
null.getExistingUserByKey in interface ConfluenceUserResolverpublic boolean exists(String name)
UserAccessorgetUser(name) != null.name - username of the userpublic ConfluenceUser createUser(com.atlassian.user.User userTemplate, com.atlassian.user.security.password.Credential credential)
UserAccessorcreateUser in interface UserAccessorcreateUser in class DefaultUserAccessorpublic com.atlassian.user.Group addGroup(String groupname)
addGroup in interface UserAccessoraddGroup in class DefaultUserAccessorInsufficientPrivilegeException - if the current user does not have permission to add this grouppublic com.atlassian.user.Group createGroup(String groupname)
createGroup in interface UserAccessorcreateGroup in class DefaultUserAccessorpublic void removeGroup(com.atlassian.user.Group group)
UserAccessorremoveGroup in interface UserAccessorremoveGroup in class DefaultUserAccessorInsufficientPrivilegeException - if you do not have sufficient permissions to remove this group. Check
permissions using Permission.REMOVE and PermissionManager on the group first.public void removeUser(com.atlassian.user.User user)
Explicitly leaves user content permissions in place, so that removing a user does not automatically make restricted content public
removeUser in interface UserAccessorremoveUser in class DefaultUserAccessorIllegalArgumentException - if the specified user is nullInsufficientPrivilegeException - if the currently logged in user doesn't have permissions to remove this
user. Check permissions using Permission.REMOVE and PermissionManager on the user first.@Transactional(readOnly=true,
propagation=REQUIRES_NEW)
public List<String> getUserNamesWithConfluenceAccess()
UserAccessorUserChecker.getNumberOfRegisteredUsers(), as that caches its results.UserCheckerpublic com.atlassian.user.search.page.Pager<ConfluenceUser> searchUnsyncedUsers(String searchParam)
UserAccessorInternalsearchUnsyncedUsers in interface UserAccessorInternalsearchParam - the username parameter to search by@Transactional(readOnly=true,
propagation=REQUIRES_NEW)
public int countLicenseConsumingUsers()
UserAccessorUserChecker.getNumberOfRegisteredUsers() to retrieve this info, as that caches its results.UserChecker@Deprecated @Transactional(readOnly=true, propagation=REQUIRES_NEW) public com.atlassian.user.search.page.Pager<com.atlassian.user.User> getUsersWithConfluenceAccess()
getUsersWithConfluenceAccess in interface UserAccessorpublic boolean isDeactivated(String username)
UserAccessorisDeactivated in interface UserAccessorpublic boolean isDeactivated(com.atlassian.user.User user)
UserAccessorisDeactivated in interface UserAccessorpublic void savePersonalInformation(PersonalInformation newInfo, PersonalInformation oldInfo)
public void deactivateUser(com.atlassian.user.User user)
UserAccessordeactivateUser in interface UserAccessorpublic void reactivateUser(com.atlassian.user.User user)
UserAccessorreactivateUser in interface UserAccessorpublic boolean isReadOnly(com.atlassian.user.User user)
UserAccessortrue if the user cannot be modified or removed. However, returning false does
necessarily confirm that the user can be modified or removed. Depending on the user
management configuration, it is not always possible for Confluence to determine whether a user
is read-only.
In an internal-only user management configuration, this method always returns false.
public boolean isReadOnly(com.atlassian.user.Group group)
UserAccessortrue if the group cannot be modified or removed. However, returning false does
necessarily confirm that the group can be modified or removed. Depending on the user
management configuration, it is not always possible for Confluence to determine whether a group
is read-only. Indeed, groups can span across multiple directories with different access control mechanisms,
so it may be possible to modify certain memberships of a group but not others.
In an internal-only user management configuration, this method always returns false.
public ProfilePictureInfo getLogoForUser(@Nullable com.atlassian.user.User user)
@Transactional(propagation=SUPPORTS) public ProfilePictureInfo getUserProfilePicture(@Nullable com.atlassian.user.User user)
UserAccessorgetUserProfilePicture in interface UserProfilePictureAccessoruser - the user whose picture to look up.public void setUserProfilePicture(com.atlassian.user.User user,
Attachment attachment)
UserAccessoruser - the user to set a profile picture forattachment - the attachment containing the user's profile picturepublic void setUserProfilePicture(com.atlassian.user.User user,
String imagePath)
UserAccessoruser - the user to set a profile picture forimagePath - the image path to that picture.@Deprecated public List<String> getAllDefaultGroupNames()
Settings.getDefaultUsersGroup() and
UserAccessor.GROUP_CONFLUENCE_ADMINS. Clients should explicitly decide what they need and use that.UserAccessor@Deprecated public String getNewUserDefaultGroupName()
Settings.getDefaultUsersGroup() via
SettingsManager.getGlobalSettings().public boolean isSuperUser(com.atlassian.user.User user)
UserAccessoruser - the user to check for (the null user will always return false@Transactional(readOnly=true) public ConfluenceUserPreferences getConfluenceUserPreferences(@Nullable com.atlassian.user.User user)
getConfluenceUserPreferences in interface UserPreferencesAccessorpublic com.atlassian.core.user.preferences.UserPreferences getUserPreferences(com.atlassian.user.User user)
getUserPreferences in interface UserAccessorgetUserPreferences in class DefaultUserAccessorpublic com.opensymphony.module.propertyset.PropertySet getPropertySet(com.atlassian.user.User user)
getPropertySet in interface UserAccessorgetPropertySet in class DefaultUserAccessorpublic List<String> getGroupNames(com.atlassian.user.User user)
UserAccessoruser - the user to perform the membership check forpublic List<String> getGroupNamesForUserName(String userName)
UserAccessoruserName - the name of the user to perform the membership check forpublic List<com.atlassian.user.Group> getGroupsAsList()
public com.atlassian.user.Group getGroup(String name)
UserAccessornull if the user doesn't exist or the name is null.getGroup in interface UserAccessorgetGroup in interface GroupResolvergetGroup in class DefaultUserAccessorpublic com.atlassian.user.search.page.Pager<String> getMemberNames(com.atlassian.user.Group group)
UserAccessorgetMemberNames in interface UserAccessorgetMemberNames in interface GroupMembershipAccessorgetMemberNames in class DefaultUserAccessorpublic List<String> getMemberNamesAsList(com.atlassian.user.Group group)
UserAccessorUserAccessor.getMemberNames(com.atlassian.user.Group) but returns a List of user names as Strings
rather than a Pager.getMemberNamesAsList in interface GroupMembershipAccessorgroup - to retrieve the member names fromStringspublic Iterable<ConfluenceUser> getMembers(com.atlassian.user.Group group)
UserAccessorElements are generated on demand and it is recommended to fetch only as many elements as are needed.
group - group to get members forpublic List<com.atlassian.user.Group> getWriteableGroups()
UserAccessorGroups that can be edited.@Transactional(readOnly=true) public com.opensymphony.module.propertyset.PropertySet getPropertySet(ConfluenceUser user)
public List<com.atlassian.user.User> findUsersAsList(com.atlassian.user.search.query.Query<com.atlassian.user.User> search) throws com.atlassian.user.EntityException
com.atlassian.user.EntityExceptionpublic com.atlassian.user.search.SearchResult<com.atlassian.user.User> findUsers(com.atlassian.user.search.query.Query<com.atlassian.user.User> query)
throws com.atlassian.user.EntityException
findUsers in interface UserAccessorfindUsers in interface com.atlassian.user.search.query.EntityQueryParserfindUsers in class DefaultUserAccessorcom.atlassian.user.EntityExceptionpublic ConfluenceUser renameUser(ConfluenceUser user, String newUsername) throws com.atlassian.user.EntityException
UserAccessoruser - user to renamenewUsername - username to use for renamingcom.atlassian.user.impl.EntityValidationException - if the new username does not meet the username requirementscom.atlassian.user.EntityException - if the operation is not allowed for the usercom.atlassian.user.impl.DuplicateEntityException - if the username is already takenpublic List<com.atlassian.user.Group> getGroupsByGroupNames(List<String> groupNames)
UserAccessorgroupNames - the list group names for which the matching Group objects must be returnedpublic List<ConfluenceUser> getUsersByUserKeys(List<com.atlassian.sal.api.user.UserKey> userKeys)
UserAccessorgetUsersByUserKeys in interface ConfluenceUserResolveruserKeys - the user keyspublic @Nullable ConfluenceUser getExistingUserByPerson(@NonNull Person person)
UserAccessorInternalgetExistingUserByPerson in interface UserAccessorInternalgetExistingUserByPerson in interface ConfluenceUserResolverperson - the person whose corresponding ConfluenceUser should be retrievedpublic Optional<ConfluenceUser> getExistingByApiUser(User user)
UserAccessorInternalOne of username or userkey must be set on the user object.
This method differs from UserAccessorInternal.getExistingUserByPerson(com.atlassian.confluence.api.model.people.Person) in its handling of anonymous, it is not
possible to retrieve an anonymous user from this method. When a Option.none() is returned from this method
it indicates that the user was not found in the user repository.
getExistingByApiUser in interface UserAccessorInternalgetExistingByApiUser in interface ConfluenceUserResolveruser - the user whose corresponding ConfluenceUser should be retrievedpublic int countUnsyncedUsers()
UserAccessorpublic com.atlassian.user.search.SearchResult getUsersByEmail(String email)
getUsersByEmail in interface UserAccessorgetUsersByEmail in class DefaultUserAccessorpublic void alterPassword(com.atlassian.user.User user,
String plainTextPassword,
String token)
throws com.atlassian.user.EntityException
com.atlassian.user.EntityExceptionpublic void alterPassword(com.atlassian.user.User user,
String plainTextPassword)
throws com.atlassian.user.EntityException
alterPassword in interface UserAccessoralterPassword in class DefaultUserAccessorcom.atlassian.user.EntityExceptionCopyright © 2003–2022 Atlassian. All rights reserved.