Uses of Interface
com.atlassian.crowd.embedded.api.User
Packages that use User
Package
Description
-
Uses of User in com.atlassian.crowd.acceptance.tests.applications.crowd
Methods in com.atlassian.crowd.acceptance.tests.applications.crowd that return types with arguments of type UserModifier and TypeMethodDescriptionCrowdAcceptanceTestCase.getUserDetailsTableContents()
protected org.hamcrest.Matcher
<User> CrowdAcceptanceTestCase.userWithDetails
(String username, String fullname) -
Uses of User in com.atlassian.crowd.directory
Methods in com.atlassian.crowd.directory with parameters of type UserModifier and TypeMethodDescriptionvoid
InternalDirectoryUtils.validateCredential
(User user, PasswordCredential credential, Set<PasswordConstraint> passwordConstraints, String message) Validates a password credential for a given user against the given set of constraints.void
InternalDirectoryUtilsImpl.validateCredential
(User user, PasswordCredential credential, Set<PasswordConstraint> passwordConstraints, String passwordComplexityMessage) -
Uses of User in com.atlassian.crowd.embedded.api
Subinterfaces of User in com.atlassian.crowd.embedded.apiModifier and TypeInterfaceDescriptioninterface
Combination of a User and the user's Attributes.Fields in com.atlassian.crowd.embedded.api with type parameters of type UserModifier and TypeFieldDescriptionstatic Function
<User, UserComparator.Key> UserComparator.KEY_MAKER
static final Comparator
<User> UserComparator.USER_COMPARATOR
Singleton instance of Comparator<User<Methods in com.atlassian.crowd.embedded.api that return UserModifier and TypeMethodDescriptionDeprecated.CrowdService.authenticate
(String name, String credential) Authenticates auser
with the given credential.CrowdService.getRemoteUser
(String name) Returns theuser
that matches the suppliedname
from a remote directory.Returns theuser
that matches the suppliedname
.ValidatePasswordRequest.getUser()
CrowdService.renameUser
(User user, String newUsername) Renames theUser
.CrowdService.setUserStatusLocally
(String username, boolean userActiveInternally) Deactivates/Activates theUser
in the internal directory.CrowdService.updateUser
(User user) Updates theUser
.CrowdService.userAuthenticated
(String name) Acts as if the user has just authenticated.CrowdService.verifyCredentials
(String name, String credential) Verifies credentials for auser
.Methods in com.atlassian.crowd.embedded.api with parameters of type UserModifier and TypeMethodDescriptionDeprecated.UseCrowdService.addUser(UserWithAttributes, String)
instead.boolean
CrowdService.addUserToGroup
(User user, Group group) Adds a user as a member of a group.int
int
CompareTo must be compatible with the equals() and hashCode() methodsstatic int
static boolean
Checks whether the two User objects are equal according to the contract of theUser
interface.static boolean
UserComparator.equalsObject
(User user, Object o) static int
boolean
CrowdService.isUserDirectGroupMember
(User user, Group group) Determines if a user is a direct member of a group.boolean
CrowdService.isUserMemberOfGroup
(User user, Group group) Returnstrue
if the user is a direct or indirect (nested) member of the group.void
CrowdService.removeAllUserAttributes
(User user) Remove all attributes for a user.boolean
CrowdService.removeUser
(User user) Removes theuser
that matches the suppliedname
.void
CrowdService.removeUserAttribute
(User user, String attributeName) Removes all the values for a single attribute key for a user.boolean
CrowdService.removeUserFromGroup
(User user, Group group) Removes a user as a member of a group.CrowdService.renameUser
(User user, String newUsername) Renames theUser
.void
CrowdService.setUserAttribute
(User user, String attributeName, String attributeValue) Adds or updates a user's attribute with the new attribute value.void
CrowdService.setUserAttribute
(User user, String attributeName, Set<String> attributeValues) Adds or updates a user's attribute with the new attribute values.CrowdService.updateUser
(User user) Updates theUser
.void
CrowdService.updateUserCredential
(User user, String credential) Constructors in com.atlassian.crowd.embedded.api with parameters of type UserModifierConstructorDescriptionValidatePasswordRequest
(PasswordCredential password, User user) Creates a new ValidateRequest. -
Uses of User in com.atlassian.crowd.embedded.core
Methods in com.atlassian.crowd.embedded.core that return UserModifier and TypeMethodDescriptionCrowdServiceImpl.authenticate
(String name, String credential) CrowdServiceImpl.getRemoteUser
(String username) CrowdServiceImpl.renameUser
(User user, String newUsername) CrowdServiceImpl.setUserStatusLocally
(String username, boolean userActiveInternally) CrowdServiceImpl.updateUser
(User user) CrowdServiceImpl.userAuthenticated
(String username) CrowdServiceImpl.verifyCredentials
(String name, String credential) Methods in com.atlassian.crowd.embedded.core with parameters of type UserModifier and TypeMethodDescriptionboolean
CrowdServiceImpl.addUserToGroup
(User user, Group group) boolean
CrowdServiceImpl.isUserDirectGroupMember
(User user, Group group) boolean
CrowdServiceImpl.isUserMemberOfGroup
(User user, Group group) void
CrowdServiceImpl.removeAllUserAttributes
(User user) boolean
CrowdServiceImpl.removeUser
(User user) void
CrowdServiceImpl.removeUserAttribute
(User user, String attributeName) boolean
CrowdServiceImpl.removeUserFromGroup
(User user, Group group) CrowdServiceImpl.renameUser
(User user, String newUsername) void
CrowdServiceImpl.setUserAttribute
(User user, String attributeName, String attributeValue) void
CrowdServiceImpl.setUserAttribute
(User user, String attributeName, Set<String> attributeValues) CrowdServiceImpl.updateUser
(User user) void
CrowdServiceImpl.updateUserCredential
(User user, String credential) -
Uses of User in com.atlassian.crowd.embedded.core.util
Methods in com.atlassian.crowd.embedded.core.util that return types with arguments of type UserModifier and TypeMethodDescriptionConversionUtils.toEmbeddedUsers
(List<User> modelUsers) Converts a list of model Users to a list of embedded Users. -
Uses of User in com.atlassian.crowd.embedded.impl
Classes in com.atlassian.crowd.embedded.impl that implement UserModifier and TypeClassDescriptionclass
Implementation of UserWithAttributes that simply delegates to an underlying User and Attributes object.class
A general purpose immutable implementation of the User interface.Methods in com.atlassian.crowd.embedded.impl with parameters of type UserModifier and TypeMethodDescriptionint
int
static ImmutableUser
static ImmutableUser.Builder
Creates a new User Builder by cloning the values from the supplied User.Constructors in com.atlassian.crowd.embedded.impl with parameters of type User -
Uses of User in com.atlassian.crowd.event.groupleveladmin
Methods in com.atlassian.crowd.event.groupleveladmin that return UserModifier and TypeMethodDescriptionUserBecameGroupAdministratorEvent.getAdministrator()
UserStoppedBeingGroupAdministratorEvent.getUser()
Constructors in com.atlassian.crowd.event.groupleveladmin with parameters of type UserModifierConstructorDescriptionUserBecameGroupAdministratorEvent
(Group group, User administrator) UserStoppedBeingGroupAdministratorEvent
(Group group, User user) -
Uses of User in com.atlassian.crowd.exception
Methods in com.atlassian.crowd.exception that return UserConstructors in com.atlassian.crowd.exception with parameters of type UserModifierConstructorDescriptionInvalidUserException
(User user, String message) InvalidUserException
(User user, String message, Throwable cause) InvalidUserException
(User user, Throwable cause) -
Uses of User in com.atlassian.crowd.integration.rest.entity
Classes in com.atlassian.crowd.integration.rest.entity that implement UserMethods in com.atlassian.crowd.integration.rest.entity with parameters of type User -
Uses of User in com.atlassian.crowd.manager.permission
Methods in com.atlassian.crowd.manager.permission that return User -
Uses of User in com.atlassian.crowd.model.user
Subinterfaces of User in com.atlassian.crowd.model.userModifier and TypeInterfaceDescriptioninterface
Extends the user interface with "updated date" and "created date".interface
Represents a user that exists in a directory.interface
Represents a user with attributes that exists in a directory.Classes in com.atlassian.crowd.model.user that implement UserModifier and TypeClassDescriptionclass
class
Implementation of UserWithAttributes that simply delegates to an underlying User and Attributes object.final class
final class
final class
final class
class
Encapsulates the concept of crowd user.class
Encapsulates the concept of user which has attributes.class
class
A publicly mutable User implementation.class
Mutable user template with mutable attributes.class
Predominantly used for the 'bulk' adding of users to Crowd.Methods in com.atlassian.crowd.model.user with parameters of type UserModifier and TypeMethodDescriptionint
int
int
int
int
int
static UserTemplateWithAttributes
UserTemplateWithAttributes.toUserWithNoAttributes
(User user) Creates new UserTemplateWithAttributes based on the given user with empty attributes.Constructors in com.atlassian.crowd.model.user with parameters of type UserModifierConstructorDescriptionUserTemplate
(User user) Build a template from an existing user.protected
-
Uses of User in com.atlassian.crowd.plugin.rest.entity.admin.directory
Methods in com.atlassian.crowd.plugin.rest.entity.admin.directory with parameters of type UserModifier and TypeMethodDescriptionstatic DirectoryEntityId
DirectoryEntitiesTransformer.toGroupAdministrationMappingRestDTO
(User user) DirectoryEntitiesTransformer.toUserData
(User user) DirectoryEntitiesTransformer.toUserDataWithAvatar
(User user, String avatarUrl) Method parameters in com.atlassian.crowd.plugin.rest.entity.admin.directory with type arguments of type UserModifier and TypeMethodDescriptionDirectoryEntitiesTransformer.fromUserToGroupAdministrationMappingRestDTO
(List<? extends User> users) DirectoryEntitiesTransformer.toUserData
(List<? extends User> users) -
Uses of User in com.atlassian.crowd.plugin.rest.entity.admin.user
Methods in com.atlassian.crowd.plugin.rest.entity.admin.user with parameters of type UserModifier and TypeMethodDescriptionstatic UserData
static UserData
static UserData
UserData.fromUser
(User user, DirectoryData directoryData) static UserData
UserData.fromUserWithAvatarUrl
(User user, DirectoryData directoryData, String avatarUrl) -
Uses of User in com.atlassian.crowd.plugin.rest.entity.directory
Methods in com.atlassian.crowd.plugin.rest.entity.directory with parameters of type UserModifier and TypeMethodDescriptionstatic DirectoryEntityRestDTO
GroupAdministrationMappingRestDTO.fromUser
(User user, DirectoryData directoryData) -
Uses of User in com.atlassian.crowd.plugin.rest.service.controller
Methods in com.atlassian.crowd.plugin.rest.service.controller that return types with arguments of type User -
Uses of User in com.atlassian.crowd.search.util
Methods in com.atlassian.crowd.search.util with type parameters of type UserModifier and TypeMethodDescriptionstatic <T extends User>
ResultsAggregator<T> ResultsAggregators.forUsers
(int startIndex, int maxResults) Creates an aggregator that will identify and sort users by lower-cased name. -
Uses of User in com.atlassian.crowd.service
Methods in com.atlassian.crowd.service with parameters of type UserModifier and TypeMethodDescriptionvoid
CrowdRememberMeService.createCookie
(User user, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Generates and saves a new remember-me token for the user.void
TransactionalRememberMeService.createCookie
(User user, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) -
Uses of User in com.atlassian.crowd.service.permission
Methods in com.atlassian.crowd.service.permission that return UserConstructors in com.atlassian.crowd.service.permission with parameters of type UserModifierConstructorDescriptionImmutableUserGroupAdministrationMapping
(Group targetGroup, User user) -
Uses of User in com.atlassian.crowd.support
Methods in com.atlassian.crowd.support with parameters of type UserModifier and TypeMethodDescriptionSupportInformationService.getSupportInformation
(User currentUser) Returns a human-readable string containing basic user, directory and application data valuable in support requests.SupportInformationServiceImpl.getSupportInformation
(User currentUser) SupportInformationService.getSupportInformationMap
(User currentUser) Returns the same data asSupportInformationService.getSupportInformation(User)
in map format.SupportInformationServiceImpl.getSupportInformationMap
(User currentUser)
CrowdService.addUser(UserWithAttributes, String)
instead.