com.atlassian.crowd.acceptance.tests.rest
Class TestHelper
java.lang.Object
com.atlassian.crowd.acceptance.tests.rest.TestHelper
public class TestHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTORY_PATH
public static final String DIRECTORY_PATH
- See Also:
- Constant Field Values
FIRST_DIRECTORY_NAME
public static final String FIRST_DIRECTORY_NAME
- See Also:
- Constant Field Values
SECOND_DIRECTORY_NAME
public static final String SECOND_DIRECTORY_NAME
- See Also:
- Constant Field Values
SEARCH_KEY
public static final String SEARCH_KEY
- See Also:
- Constant Field Values
USERS_PATH
public static final String USERS_PATH
- See Also:
- Constant Field Values
FIRST_DIRECTORY_FIRST_USER_NAME
public static final String FIRST_DIRECTORY_FIRST_USER_NAME
- See Also:
- Constant Field Values
FIRST_DIRECTORY_SECOND_USER_NAME
public static final String FIRST_DIRECTORY_SECOND_USER_NAME
- See Also:
- Constant Field Values
SECOND_DIRECTORY_USER_NAME
public static final String SECOND_DIRECTORY_USER_NAME
- See Also:
- Constant Field Values
GROUPS_PATH
public static final String GROUPS_PATH
- See Also:
- Constant Field Values
ADMIN_GROUP_NAME
public static final String ADMIN_GROUP_NAME
- See Also:
- Constant Field Values
FIRST_DIRECTORY_SECOND_GROUP_NAME
public static final String FIRST_DIRECTORY_SECOND_GROUP_NAME
- See Also:
- Constant Field Values
SECOND_DIRECTORY_GROUP_NAME
public static final String SECOND_DIRECTORY_GROUP_NAME
- See Also:
- Constant Field Values
TestHelper
public TestHelper()
getRootWebResource
public static com.sun.jersey.api.client.WebResource getRootWebResource()
- Returns the "root" WebResource. This is the resource that's at the / of the crowd-rest-admin plugin namespace.
- Returns:
getRootWebResource
public static com.sun.jersey.api.client.WebResource getRootWebResource(String username,
String password)
- Returns the "root" WebResource. This is the resource that's at the / of the crowd-rest-admin plugin namespace.
- Returns:
getUsersPath
public static com.sun.jersey.api.client.WebResource getUsersPath(String directoryName)
getUserPath
public static com.sun.jersey.api.client.WebResource getUserPath(String directoryName,
String userName)
getUserMembershipsPath
public static com.sun.jersey.api.client.WebResource getUserMembershipsPath(String directoryName,
String userName)
getGroupsPath
public static com.sun.jersey.api.client.WebResource getGroupsPath(String directoryName)
getGroupPath
public static com.sun.jersey.api.client.WebResource getGroupPath(String directoryName,
String groupName)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.