| Modifier and Type | Method and Description |
|---|---|
UserWithDetails |
User.asUserWithDetails()
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
static List<UserWithDetails> |
UserPickerTest.DEFAULT_ADMINS |
| Modifier and Type | Method and Description |
|---|---|
static void |
PageLabelsTest.addLabels(Content page,
UserWithDetails user,
String... labels) |
static void |
ManageWatchersTest.watchOwnContent(UserWithDetails user,
boolean value) |
| Modifier and Type | Method and Description |
|---|---|
protected EditorPage |
BlogEditorTest.loginAndCreatePage(UserWithDetails user,
Space space) |
protected EditorPage |
PageEditorTest.loginAndCreatePage(UserWithDetails user,
Space space) |
protected abstract EditorPage |
AbstractPageEditorTest.loginAndCreatePage(UserWithDetails user,
Space space) |
protected void |
AbstractContentRestrictionTest.setAndThenRemoveRestrictionOnInfoPage(UserWithDetails user,
Content content,
OperationKey operationKey) |
| Modifier and Type | Method and Description |
|---|---|
ConfluenceRestSession |
OtherTenantRule.createRestSession(UserWithDetails user) |
| Modifier and Type | Method and Description |
|---|---|
T |
ConfluenceClient.createSession(UserWithDetails user)
Creates a ConfluenceSession which can be used to make API calls.
|
protected abstract T |
ConfluenceClient.createSession(UserWithDetails user,
String baseUrl)
Creates a ConfluenceSession which can be used to make API calls against user.
|
<F> List<F> |
ConfluenceClient.forEachNode(UserWithDetails user,
com.google.common.base.Function<T,F> func)
Runs a java Function for all nodes in the cluster for a given user.
|
| Constructor and Description |
|---|
ConfluenceSession(UserWithDetails user) |
| Modifier and Type | Field and Description |
|---|---|
static UserWithDetails |
UserWithDetails.ADMIN
Deprecated.
Use either
SYS_ADMIN or CONF_ADMIN |
static UserWithDetails |
UserWithDetails.CONF_ADMIN
A sample administrator user.
|
static UserWithDetails |
UserWithDetails.SYS_ADMIN |
| Modifier and Type | Method and Description |
|---|---|
static File |
Exporter.downloadExportToTemp(URL url,
UserWithDetails user) |
| Modifier and Type | Method and Description |
|---|---|
Content |
KnowledgeBaseTestHelper.createEmptyPage(UserWithDetails author,
String title,
Space space) |
void |
KnowledgeBaseTestHelper.likeContent(Content content,
UserWithDetails user) |
void |
KnowledgeBaseTestHelper.restrictContent(UserWithDetails user,
Content... contents) |
| Modifier and Type | Method and Description |
|---|---|
void |
MailFacade.startMailServerOnly(UserWithDetails... additionalUsers)
Starts the mail server, but DOESN'T configure Confluence to use it.
|
| Modifier and Type | Method and Description |
|---|---|
List<UserWithDetails> |
UserRest.searchUsers(com.atlassian.crowd.embedded.api.SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
| Modifier and Type | Method and Description |
|---|---|
protected ConfluenceRestSession |
ConfluenceRestClient.createSession(UserWithDetails user,
String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected ConfluenceRpcSession |
ConfluenceRpcClient.createSession(UserWithDetails user,
String baseUrl) |
boolean |
UserRpc.createUser(UserWithDetails user)
Adds the given user
|
void |
FunctestRpc.setUserDetails(UserWithDetails user) |
| Modifier and Type | Method and Description |
|---|---|
UserWithDetails |
TestUserFactory.createTestUser()
Generates a user and creates it via the manager.
|
UserWithDetails |
TestUserFactory.createTestUser(List<Group> groups)
Generates a user and creates it via the manager, and also adds the user to the given groups.
|
UserWithDetails |
TestUserFactory.createTestUser(List<Group> groups,
String username)
Generates a user with the specified username and creates it via the manager.
|
UserWithDetails |
TestUserFactory.createTestUser(String username)
Create a user with a specific name via the manager.
|
UserWithDetails |
UserManager.createUser(UserWithDetails user)
Creates the user, adds it to the default users group, and ensures the
user profile is created (to work around CONF-6404).
|
UserWithDetails |
DefaultUserManager.createUser(UserWithDetails user) |
UserWithDetails |
CrowdUserManager.createUser(UserWithDetails user) |
UserWithDetails |
TestUserFactory.generateTestUser()
Generate a User object with a generated (and hopefully unique) username.
|
| Modifier and Type | Method and Description |
|---|---|
List<UserWithDetails> |
UserManager.searchUsers(com.atlassian.crowd.embedded.api.SearchRestriction searchRestriction,
int startIndex,
int maxResults)
Searches for users matching the following criteria.
|
List<UserWithDetails> |
DefaultUserManager.searchUsers(com.atlassian.crowd.embedded.api.SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
List<UserWithDetails> |
CrowdUserManager.searchUsers(com.atlassian.crowd.embedded.api.SearchRestriction searchRestriction,
int startIndex,
int maxResults) |
| Modifier and Type | Method and Description |
|---|---|
UserWithDetails |
UserManager.createUser(UserWithDetails user)
Creates the user, adds it to the default users group, and ensures the
user profile is created (to work around CONF-6404).
|
UserWithDetails |
DefaultUserManager.createUser(UserWithDetails user) |
UserWithDetails |
CrowdUserManager.createUser(UserWithDetails user) |
void |
UserManager.fixUser(UserWithDetails user)
Ensure that the user's details in the system match those in
user. |
void |
DefaultUserManager.fixUser(UserWithDetails user) |
void |
CrowdUserManager.fixUser(UserWithDetails user) |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.Cookie |
OnDemandLoginClient.logIn(UserWithDetails user,
boolean rememberMe) |
javax.servlet.http.Cookie |
JiraWebClient.logIn(UserWithDetails user,
boolean rememberMe)
Deprecated.
|
javax.servlet.http.Cookie |
IndraWebClient.logIn(UserWithDetails user,
boolean rememberMe) |
javax.servlet.http.Cookie |
IndraWebClient.logIn(UserWithDetails user,
boolean rememberMe,
String path) |
| Modifier and Type | Method and Description |
|---|---|
<M extends com.atlassian.pageobjects.Page> |
ConfluenceTestedProduct.autoLoginEmbeddingCredentialsInUrl(UserWithDetails user,
Class<M> destinationClass,
Object... args)
Faster way of login when in testing environment by embedding the credentials in the url,
so we don't have to visit the login page every single time.
|
<M extends com.atlassian.pageobjects.Page> |
ConfluenceTestedProduct.login(UserWithDetails user,
Class<M> destination,
Object... args) |
CopyPage |
ConfluenceTestedProduct.loginAndCopyPage(UserWithDetails user,
Content page) |
CreateBlog |
ConfluenceTestedProduct.loginAndCreateBlog(UserWithDetails user,
Space space) |
CreatePage |
ConfluenceTestedProduct.loginAndCreatePage(UserWithDetails user,
Space space) |
CreatePageTemplate |
ConfluenceTestedProduct.loginAndCreatePageTemplate(UserWithDetails user,
Space space) |
EditContentPage |
ConfluenceTestedProduct.loginAndEdit(UserWithDetails user,
Content content) |
ViewPage |
ConfluenceTestedProduct.loginAndView(UserWithDetails user,
Content content) |
ViewPage |
ConfluenceTestedProduct.loginAndViewOverriddenPage(UserWithDetails user,
Content content,
long versionOverride,
EmbeddedContentRenderMode embeddedContentRender) |
ViewRestrictedPage |
ConfluenceTestedProduct.loginAndViewRestricted(UserWithDetails user,
Content content) |
| Modifier and Type | Method and Description |
|---|---|
<M extends com.atlassian.pageobjects.Page> |
ConfluenceLoginPage.login(UserWithDetails user,
Class<M> destinationClass,
Object... args) |
<M extends com.atlassian.pageobjects.Page> |
ConfluenceAlaCarteLoginPage.login(UserWithDetails user,
Class<M> destinationClass,
Object... args) |
<M extends com.atlassian.pageobjects.Page> |
ConfluenceAlaCarteJiraLoginPage.login(UserWithDetails user,
Class<M> destinationClass,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
PageInfo.hasRestriction(UserWithDetails user,
String permission) |
| Modifier and Type | Method and Description |
|---|---|
protected static Content |
AbstractExternalRequestAcceptanceTest.createComment(Content page,
UserWithDetails creator,
String body) |
protected static Content |
AbstractExternalRequestAcceptanceTest.createLabels(Content page,
UserWithDetails creator,
List<Label> labels) |
protected Content |
AbstractExternalRequestAcceptanceTest.createPage(Space space,
String title,
String content,
Content parent,
UserWithDetails creator) |
protected Content |
AbstractExternalRequestAcceptanceTest.createPage(String title,
String content,
UserWithDetails creator) |
protected Content |
AbstractExternalRequestAcceptanceTest.createTopLevelPage(Space space,
String title,
String content,
UserWithDetails creator) |
protected void |
AbstractExternalRequestAcceptanceTest.loginAs(UserWithDetails user) |
protected Content |
AbstractExternalRequestAcceptanceTest.updatePage(Content page,
String newTitle,
String newBody,
UserWithDetails user) |
Copyright © 2003–2017 Atlassian. All rights reserved.