Modifier and Type | Method and Description |
---|---|
protected List<User> |
CrowdAcceptanceTestCase.getUserDetailsTableContents() |
protected org.hamcrest.Matcher<User> |
CrowdAcceptanceTestCase.userWithDetails(String username,
String fullname) |
Modifier and Type | Method and Description |
---|---|
void |
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) |
Modifier and Type | Interface and Description |
---|---|
interface |
UserWithAttributes
Combination of a User and the user's Attributes.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<User,UserComparator.Key> |
UserComparator.KEY_MAKER
|
static Comparator<User> |
UserComparator.USER_COMPARATOR
Singleton instance of Comparator<User<
|
Modifier and Type | Method and Description |
---|---|
User |
CrowdService.addUser(User user,
String credential)
Deprecated.
Use
CrowdService.addUser(UserWithAttributes, String) instead. Since v2.9 |
User |
CrowdService.authenticate(String name,
String credential)
Authenticates a
user with the given credential. |
User |
CrowdService.getRemoteUser(String name)
Returns the
user that matches the supplied name from a remote directory. |
User |
ValidatePasswordRequest.getUser() |
User |
CrowdService.getUser(String name)
Returns the
user that matches the supplied name . |
User |
CrowdService.renameUser(User user,
String newUsername)
Renames the
User . |
User |
CrowdService.updateUser(User user)
Updates the
User . |
User |
CrowdService.userAuthenticated(String name)
Acts as if the user has just authenticated.
|
Modifier and Type | Method and Description |
---|---|
User |
CrowdService.addUser(User user,
String credential)
Deprecated.
Use
CrowdService.addUser(UserWithAttributes, String) instead. Since v2.9 |
boolean |
CrowdService.addUserToGroup(User user,
Group group)
Adds a user as a member of a group.
|
int |
UserComparator.compare(User user1,
User user2) |
int |
User.compareTo(User user)
CompareTo must be compatible with the equals() and hashCode() methods
|
static int |
UserComparator.compareTo(User user1,
User user2) |
static boolean |
UserComparator.equal(User user1,
User user2)
Checks whether the two User objects are equal according to the contract of the
User interface. |
static boolean |
UserComparator.equalsObject(User user,
Object o) |
static int |
UserComparator.hashCode(User user) |
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)
Returns
true 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 the
user that matches the supplied name . |
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.
|
User |
CrowdService.renameUser(User user,
String newUsername)
Renames the
User . |
void |
CrowdService.setUserAttribute(User user,
String attributeName,
Set<String> attributeValues)
Adds or updates a user's attribute with the new attribute values.
|
void |
CrowdService.setUserAttribute(User user,
String attributeName,
String attributeValue)
Adds or updates a user's attribute with the new attribute value.
|
User |
CrowdService.updateUser(User user)
Updates the
User . |
void |
CrowdService.updateUserCredential(User user,
String credential)
|
Constructor and Description |
---|
ValidatePasswordRequest(PasswordCredential password,
User user)
Creates a new ValidateRequest.
|
Modifier and Type | Method and Description |
---|---|
User |
CrowdServiceImpl.addUser(User user,
String credential) |
User |
CrowdServiceImpl.authenticate(String name,
String credential) |
User |
CrowdServiceImpl.getRemoteUser(String username) |
User |
CrowdServiceImpl.getUser(String name) |
User |
CrowdServiceImpl.renameUser(User user,
String newUsername) |
User |
CrowdServiceImpl.updateUser(User user) |
User |
CrowdServiceImpl.userAuthenticated(String username) |
Modifier and Type | Method and Description |
---|---|
User |
CrowdServiceImpl.addUser(User user,
String credential) |
boolean |
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) |
User |
CrowdServiceImpl.renameUser(User user,
String newUsername) |
void |
CrowdServiceImpl.setUserAttribute(User user,
String attributeName,
Set<String> attributeValues) |
void |
CrowdServiceImpl.setUserAttribute(User user,
String attributeName,
String attributeValue) |
User |
CrowdServiceImpl.updateUser(User user) |
void |
CrowdServiceImpl.updateUserCredential(User user,
String credential) |
Modifier and Type | Method and Description |
---|---|
static List<User> |
ConversionUtils.toEmbeddedUsers(List<User> modelUsers)
Converts a list of model Users to a list of embedded Users.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingUserWithAttributes
Implementation of UserWithAttributes that simply delegates to an underlying User and Attributes object.
|
class |
ImmutableUser
A general purpose immutable implementation of the User interface.
|
Modifier and Type | Method and Description |
---|---|
int |
ImmutableUser.compareTo(User other) |
int |
DelegatingUserWithAttributes.compareTo(User user) |
static ImmutableUser |
ImmutableUser.from(User user) |
static ImmutableUser.Builder |
ImmutableUser.newUser(User user)
Creates a new User Builder by cloning the values from the supplied User.
|
Constructor and Description |
---|
DelegatingUserWithAttributes(User user,
Attributes attributes) |
Modifier and Type | Method and Description |
---|---|
User |
UserBecameGroupAdministratorEvent.getAdministrator() |
User |
UserStoppedBeingGroupAdministratorEvent.getUser() |
Constructor and Description |
---|
UserBecameGroupAdministratorEvent(Group group,
User administrator) |
UserStoppedBeingGroupAdministratorEvent(Group group,
User user) |
Modifier and Type | Method and Description |
---|---|
User |
InvalidUserException.getUser() |
Constructor and Description |
---|
InvalidUserException(User user,
String message) |
InvalidUserException(User user,
String message,
Throwable cause) |
InvalidUserException(User user,
Throwable cause) |
Modifier and Type | Class and Description |
---|---|
class |
UserEntity
Represents a User entity (client side).
|
Modifier and Type | Method and Description |
---|---|
int |
UserEntity.compareTo(User user) |
Modifier and Type | Class and Description |
---|---|
class |
UserWithAttributesAdapter
Implements a basic SOAPPrincipal wrapper for Crowd principals.
|
Modifier and Type | Method and Description |
---|---|
int |
UserWithAttributesAdapter.compareTo(User user) |
Modifier and Type | Method and Description |
---|---|
User |
UserGroupAdministrationMapping.getUser()
Returns the administrator
|
Modifier and Type | Interface and Description |
---|---|
interface |
TimestampedUser
Extends the user interface with "updated date" and "created date".
|
interface |
User
Represents a user that exists in a directory.
|
Modifier and Type | Class and Description |
---|---|
class |
BaseImmutableUser |
class |
ImmutableTimestampedUser |
class |
ImmutableTimestampedUserWithAttributes |
class |
InternalUser
Encapsulates the concept of crowd user.
|
class |
InternalUserWithAttributes
Encapsulates the concept of user which has attributes.
|
class |
LDAPUserWithAttributes |
class |
UserTemplate
A publicly mutable User implementation.
|
class |
UserTemplateWithAttributes
Mutable user template with mutable attributes.
|
class |
UserTemplateWithCredentialAndAttributes
Predominantly used for the 'bulk' adding of users to Crowd.
|
Modifier and Type | Method and Description |
---|---|
int |
DelegatingUserWithAttributes.compareTo(User other) |
int |
LDAPUserWithAttributes.compareTo(User other) |
int |
InternalUserWithAttributes.compareTo(User o) |
int |
InternalUser.compareTo(User other) |
int |
UserTemplate.compareTo(User other) |
int |
BaseImmutableUser.compareTo(User user) |
static UserTemplateWithAttributes |
UserTemplateWithAttributes.toUserWithNoAttributes(User user)
Creates new UserTemplateWithAttributes based on the given user with empty attributes.
|
Constructor and Description |
---|
UserTemplate(User user)
Build a template from an existing user.
|
UserTemplateWithAttributes(User user) |
Modifier and Type | Method and Description |
---|---|
static DirectoryEntityId |
DirectoryEntityId.fromUser(User user) |
GroupAdministrationMappingRestDTO |
DirectoryEntitiesTransformer.toGroupAdministrationMappingRestDTO(User user) |
UserData |
DirectoryEntitiesTransformer.toUserData(User user) |
Modifier and Type | Method and Description |
---|---|
List<GroupAdministrationMappingRestDTO> |
DirectoryEntitiesTransformer.fromUserToGroupAdministrationMappingRestDTO(List<? extends User> users) |
List<UserData> |
DirectoryEntitiesTransformer.toUserData(List<? extends User> users) |
Modifier and Type | Method and Description |
---|---|
static UserData |
UserData.fromUser(User user) |
static UserData |
UserData.fromUser(User user,
Directory directory) |
static UserData |
UserData.fromUser(User user,
DirectoryData directoryData) |
Modifier and Type | Method and Description |
---|---|
static DirectoryEntityRestDTO |
DirectoryEntityRestDTO.fromUser(User user) |
static GroupAdministrationMappingRestDTO |
GroupAdministrationMappingRestDTO.fromUser(User user,
Directory directory) |
static GroupAdministrationMappingRestDTO |
GroupAdministrationMappingRestDTO.fromUser(User user,
DirectoryData directoryData) |
Modifier and Type | Method and Description |
---|---|
Optional<User> |
CrowdUserHelper.getCurrentCrowdUser() |
Modifier and Type | Method and Description |
---|---|
static <T extends User> |
ResultsAggregators.forUsers(int startIndex,
int maxResults)
Creates an aggregator that will identify and sort users by lower-cased name.
|
Modifier and Type | Method and Description |
---|---|
User |
ImmutableUserGroupAdministrationMapping.getUser() |
Constructor and Description |
---|
ImmutableUserGroupAdministrationMapping(Group targetGroup,
User user) |
Modifier and Type | Method and Description |
---|---|
String |
SupportInformationServiceImpl.getSupportInformation(User currentUser) |
String |
SupportInformationService.getSupportInformation(User currentUser)
Returns a human-readable string containing basic user, directory and application data valuable in support requests.
|
Map<String,String> |
SupportInformationServiceImpl.getSupportInformationMap(User currentUser) |
Map<String,String> |
SupportInformationService.getSupportInformationMap(User currentUser)
Returns the same data as
SupportInformationService.getSupportInformation(User) in map format. |
Copyright © 2020 Atlassian. All rights reserved.