| Package | Description |
|---|---|
| com.atlassian.crowd.embedded.api | |
| com.atlassian.crowd.embedded.impl | |
| com.atlassian.crowd.exception |
| 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 | Class and Description |
|---|---|
class |
DelegatingUserWithAttributes
Implementation of UserWithAttributes that simply delegates to an underlying User and Attributes object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
DelegatingUserWithAttributes.compareTo(User user) |
| Constructor and Description |
|---|
DelegatingUserWithAttributes(User user,
Attributes attributes) |
| 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) |
Copyright © 2018 Atlassian. All rights reserved.