public class AuthenticationApiOpTests extends ObjectClassRunner
AuthenticationApiOp
.Modifier and Type | Field and Description |
---|---|
protected static String |
TEST_NAME |
protected static String |
USERNAME_PROP |
_connFacade, LOG_SEPARATOR
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.
|
void |
testRun(ObjectClass objectClass)
This method will be called configured number of times
|
getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, objectClasses, testContract
dispose, getConnectorFacade, getDataProvider, init
protected static final String TEST_NAME
protected static final String USERNAME_PROP
public Set<Class<? extends APIOperation>> getAPIOperations()
ContractTestBase
APIOperation
.
Method returns set of required API operations that are prerequisites for
running certain contract test.getAPIOperations
in class ContractTestBase
public void testRun(ObjectClass objectClass)
testRun
in class ObjectClassRunner
@ParameterizedTest @MethodSource(value="objectClasses") public void testOpEnable(ObjectClass objectClass)
@ParameterizedTest @MethodSource(value="objectClasses") public void testOpPasswordExpirationDate(ObjectClass objectClass)
@ParameterizedTest @MethodSource(value="objectClasses") public void testOpPasswordExpired(ObjectClass objectClass)
@ParameterizedTest @MethodSource(value="objectClasses") public void testPasswordBeforePasswordExpired(ObjectClass objectClass)
public String getTestName()
getTestName
in class ObjectClassRunner
Copyright © 2022. All rights reserved.