public class CreateUserTest extends Object
Constructor and Description |
---|
CreateUserTest() |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
setup() |
void |
testAnonymousSelfRegistrationDisabled()
Test for SLING-1642 to verify that user self-registration by the anonymous
user is not allowed by default.
|
void |
testAuthorizedCreateUser() |
void |
testCreateUser() |
void |
testCreateUserCustomPostResponse()
Test for SLING-7831
|
void |
testCreateUserMissingPwd() |
void |
testCreateUserMissingUserId() |
void |
testCreateUserResponseAsJSON()
Test for SLING-1677
|
void |
testCreateUserUserAlreadyExists() |
void |
testCreateUserWithExtraProperties() |
void |
testCreateUserWrongConfirmPwd() |
void |
testNotAuthorizedCreateUser() |
public void testCreateUser() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testNotAuthorizedCreateUser() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAuthorizedCreateUser() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testCreateUserMissingUserId() throws IOException
IOException
public void testCreateUserMissingPwd() throws IOException
IOException
public void testCreateUserWrongConfirmPwd() throws IOException
IOException
public void testCreateUserUserAlreadyExists() throws IOException
IOException
public void testCreateUserWithExtraProperties() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testAnonymousSelfRegistrationDisabled() throws IOException
IOException
public void testCreateUserResponseAsJSON() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
public void testCreateUserCustomPostResponse() throws IOException, javax.json.JsonException
IOException
javax.json.JsonException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.