public class AuthenticationApiOpTests extends ObjectClassRunner
AuthenticationApiOp
Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
dataProvider
_connFacade, LOG_SEPARATOR, OBJECTCLASS_DATAPROVIDER, TESTSUITE
Constructor and Description |
---|
AuthenticationApiOpTests() |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation . |
String |
getTestName()
Gets Test name
|
void |
testOpEnable(ObjectClass objectClass)
Tests that disabled user cannot authenticate.
|
void |
testOpPasswordExpirationDate(ObjectClass objectClass)
Tests that PasswordExpiredException is thrown in case PasswordExpirationDate is set to today.
|
void |
testOpPasswordExpired(ObjectClass objectClass)
Tests that PasswordExpiredException is thrown in case PasswordExpired is updated to true.
|
void |
testPasswordBeforePasswordExpired(ObjectClass objectClass)
Tests that connector respects order of PASSWORD and PASSWORD_EXPIRED
attributes during update.
|
protected void |
testRun(ObjectClass objectClass)
This method will be called configured number of times
|
data, dispose, getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, testContract
BeforeClass, getConnectorFacade, getDataProvider
public static final String TEST_NAME
public Set<Class<? extends APIOperation>> getAPIOperations()
APIOperation
.
Method returns set of required API operations that are prerequisites for
running certain contract test.getAPIOperations
in class ContractTestBase
protected void testRun(ObjectClass objectClass)
testRun
in class ObjectClassRunner
public void testOpEnable(ObjectClass objectClass)
public void testOpPasswordExpirationDate(ObjectClass objectClass)
public void testOpPasswordExpired(ObjectClass objectClass)
public void testPasswordBeforePasswordExpired(ObjectClass objectClass)
public String getTestName()
getTestName
in class ObjectClassRunner
Copyright © 2019. All rights reserved.