Class UserResource
java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.user.UserResource
@Path("user")
@Consumes("application/json")
@Produces("application/json")
@Singleton
public class UserResource
extends Object
-
Constructor Summary
ConstructorDescriptionUserResource
(BambooUserManager userManager, HibernateMutableAclService aclService, ExtendedAuthorManager extendedAuthorManager, RecoveryAdminListener recoveryAdminListener) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
changeUserPassword
(String username, String password) javax.ws.rs.core.Response
createUser
(RestUser user) javax.ws.rs.core.Response
javax.ws.rs.core.Response
deleteUser
(String userName) javax.ws.rs.core.Response
deleteUserRepositoryAlias
(String aliasName) getUserGroups
(RestUser user) getUsers()
-
Constructor Details
-
UserResource
@Inject public UserResource(BambooUserManager userManager, HibernateMutableAclService aclService, ExtendedAuthorManager extendedAuthorManager, RecoveryAdminListener recoveryAdminListener)
-
-
Method Details
-
deleteUser
@DELETE @Path("{userName}") public javax.ws.rs.core.Response deleteUser(@PathParam("userName") String userName) -
createUser
-
changeUserPassword
-
createUserRepositoryAlias
@POST @Path("alias") public javax.ws.rs.core.Response createUserRepositoryAlias(RestUserAlias alias) -
deleteUserRepositoryAlias
@DELETE @Path("alias/{aliasName}") public javax.ws.rs.core.Response deleteUserRepositoryAlias(@PathParam("aliasName") String aliasName) -
getUsers
-
getRecoveryAdminName
-
getUserGroups
-