Class UserResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.testutils.rest.resource.user.UserResource
-
@Singleton public class UserResource extends Object
-
-
Constructor Summary
Constructors Constructor Description UserResource(BambooUserManager userManager, HibernateMutableAclService aclService, ExtendedAuthorManager extendedAuthorManager, RecoveryAdminListener recoveryAdminListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createUser(RestUser user)
javax.ws.rs.core.Response
createUserRepositoryAlias(RestUserAlias alias)
javax.ws.rs.core.Response
deleteUser(String userName)
javax.ws.rs.core.Response
deleteUserRepositoryAlias(String aliasName)
String
getRecoveryAdminName()
protected List<String>
getUserGroups(RestUser user)
RestUserList
getUsers()
-
-
-
Constructor Detail
-
UserResource
public UserResource(BambooUserManager userManager, HibernateMutableAclService aclService, ExtendedAuthorManager extendedAuthorManager, RecoveryAdminListener recoveryAdminListener)
-
-
Method Detail
-
deleteUser
public javax.ws.rs.core.Response deleteUser(String userName)
-
createUser
public javax.ws.rs.core.Response createUser(RestUser user)
-
createUserRepositoryAlias
public javax.ws.rs.core.Response createUserRepositoryAlias(RestUserAlias alias)
-
deleteUserRepositoryAlias
public javax.ws.rs.core.Response deleteUserRepositoryAlias(String aliasName)
-
getUsers
public RestUserList getUsers()
-
getRecoveryAdminName
public String getRecoveryAdminName()
-
-