Class TestUser
java.lang.Object
com.atlassian.bamboo.testutils.user.TestUser
- All Implemented Interfaces:
com.atlassian.bamboo.specs.util.AuthenticationProvider
,com.atlassian.bamboo.specs.util.UserPasswordCredentials
public class TestUser
extends Object
implements com.atlassian.bamboo.specs.util.UserPasswordCredentials
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTestUser
(String username, String password, boolean enabled, String fullName, String email, String jabberAddress, Collection<TestGroup> groups) TestUser
(String username, String password, String fullName, String email, String jabberAddress, Collection<TestGroup> groups) TestUser
(String username, String password, String fullName, String email, Collection<TestGroup> groups) TestUser
(String username, String password, Collection<TestGroup> groups) -
Method Summary
Modifier and TypeMethodDescriptionstatic TestUser
createSimpleUser
(String username) static TestUser
createUniqueUser
(TestGroup... groups) static TestUser
createUniqueUser
(String usernamePrefix, TestGroup... groups) getEmail()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlassian.bamboo.specs.util.UserPasswordCredentials
authenticate
-
Field Details
-
ADMIN_NAME
- See Also:
-
INTERNAL_DIRECTORY_NAME
- See Also:
-
ADMIN
-
RESTRICTED_ADMIN
-
BOB_BUILDER
-
JOE_USER_NAME
- See Also:
-
JOE_USER
-
A_USER
-
autocreatedUsers
-
username
-
password
-
fullName
-
email
-
enabled
public final boolean enabled -
jabberAddress
-
groups
-
permissions
-
-
Constructor Details
-
TestUser
-
TestUser
-
TestUser
-
TestUser
-
TestUser
-
-
Method Details
-
getUsername
- Specified by:
getUsername
in interfacecom.atlassian.bamboo.specs.util.UserPasswordCredentials
-
getPassword
- Specified by:
getPassword
in interfacecom.atlassian.bamboo.specs.util.UserPasswordCredentials
-
getFullName
-
getEmail
-
getGroups
-
createSimpleUser
-
createUniqueUser
-
createUniqueUser
-
toString
-