Uses of Interface
com.atlassian.crowd.embedded.api.User
Packages that use User
Package
Description
-
Uses of User in com.atlassian.crowd.embedded.api
Subinterfaces of User in com.atlassian.crowd.embedded.apiModifier and TypeInterfaceDescriptioninterfaceCombination 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_MAKERstatic final Comparator<User>UserComparator.USER_COMPARATORSingleton instance of Comparator<User<Methods in com.atlassian.crowd.embedded.api that return UserModifier and TypeMethodDescriptionDeprecated.CrowdService.authenticate(String name, String credential) Authenticates auserwith the given credential.CrowdService.getRemoteUser(String name) Returns theuserthat matches the suppliednamefrom a remote directory.Returns theuserthat matches the suppliedname.ValidatePasswordRequest.getUser()CrowdService.renameUser(User user, String newUsername) Renames theUser.CrowdService.updateUser(User user) Updates theUser.CrowdService.userAuthenticated(String name) Acts as if the user has just authenticated.Methods in com.atlassian.crowd.embedded.api with parameters of type UserModifier and TypeMethodDescriptionDeprecated.UseCrowdService.addUser(UserWithAttributes, String)instead.booleanCrowdService.addUserToGroup(User user, Group group) Adds a user as a member of a group.intintCompareTo must be compatible with the equals() and hashCode() methodsstatic intstatic booleanChecks whether the two User objects are equal according to the contract of theUserinterface.static booleanUserComparator.equalsObject(User user, Object o) static intbooleanCrowdService.isUserDirectGroupMember(User user, Group group) Determines if a user is a direct member of a group.booleanCrowdService.isUserMemberOfGroup(User user, Group group) Returnstrueif the user is a direct or indirect (nested) member of the group.voidCrowdService.removeAllUserAttributes(User user) Remove all attributes for a user.booleanCrowdService.removeUser(User user) Removes theuserthat matches the suppliedname.voidCrowdService.removeUserAttribute(User user, String attributeName) Removes all the values for a single attribute key for a user.booleanCrowdService.removeUserFromGroup(User user, Group group) Removes a user as a member of a group.CrowdService.renameUser(User user, String newUsername) Renames theUser.voidCrowdService.setUserAttribute(User user, String attributeName, String attributeValue) Adds or updates a user's attribute with the new attribute value.voidCrowdService.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.voidCrowdService.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.impl
Classes in com.atlassian.crowd.embedded.impl that implement UserModifier and TypeClassDescriptionclassImplementation of UserWithAttributes that simply delegates to an underlying User and Attributes object.classA general purpose immutable implementation of the User interface.Methods in com.atlassian.crowd.embedded.impl with parameters of type UserModifier and TypeMethodDescriptionintintstatic ImmutableUserstatic ImmutableUser.BuilderCreates 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.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)
CrowdService.addUser(UserWithAttributes, String)instead.