Class AuthenticationApiOpTests
java.lang.Object
org.identityconnectors.contract.test.ContractTestBase
org.identityconnectors.contract.test.ObjectClassRunner
org.identityconnectors.contract.test.AuthenticationApiOpTests
Contract test of
AuthenticationApiOp.-
Field Summary
FieldsFields inherited from class org.identityconnectors.contract.test.ContractTestBase
_connFacade, LOG_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet<Class<? extends APIOperation>> Ask the subclasses for theAPIOperation.Gets Test namevoidtestOpEnable(ObjectClass objectClass) Tests that disabled user cannot authenticate.voidtestOpPasswordExpirationDate(ObjectClass objectClass) Tests that PasswordExpiredException is thrown in case PasswordExpirationDate is set to today.voidtestOpPasswordExpired(ObjectClass objectClass) Tests that PasswordExpiredException is thrown in case PasswordExpired is updated to true.voidtestPasswordBeforePasswordExpired(ObjectClass objectClass) Tests that connector respects order of PASSWORD and PASSWORD_EXPIRED attributes during update.voidtestRun(ObjectClass objectClass) This method will be called configured number of timesMethods inherited from class org.identityconnectors.contract.test.ObjectClassRunner
getObjectClassInfo, getOperationOptionsByOp, getSchema, isObjectClassSupported, objectClasses, testContractMethods inherited from class org.identityconnectors.contract.test.ContractTestBase
dispose, getConnectorFacade, getDataProvider, init
-
Field Details
-
TEST_NAME
- See Also:
-
USERNAME_PROP
- See Also:
-
-
Constructor Details
-
AuthenticationApiOpTests
public AuthenticationApiOpTests()
-
-
Method Details
-
getAPIOperations
Description copied from class:ContractTestBaseAsk the subclasses for theAPIOperation. Method returns set of required API operations that are prerequisites for running certain contract test.- Specified by:
getAPIOperationsin classContractTestBase
-
testRun
This method will be called configured number of times- Specified by:
testRunin classObjectClassRunner
-
testOpEnable
Tests that disabled user cannot authenticate. RuntimeException should be thrown. -
testOpPasswordExpirationDate
@ParameterizedTest @MethodSource("objectClasses") public void testOpPasswordExpirationDate(ObjectClass objectClass) Tests that PasswordExpiredException is thrown in case PasswordExpirationDate is set to today. -
testOpPasswordExpired
@ParameterizedTest @MethodSource("objectClasses") public void testOpPasswordExpired(ObjectClass objectClass) Tests that PasswordExpiredException is thrown in case PasswordExpired is updated to true. -
testPasswordBeforePasswordExpired
@ParameterizedTest @MethodSource("objectClasses") public void testPasswordBeforePasswordExpired(ObjectClass objectClass) Tests that connector respects order of PASSWORD and PASSWORD_EXPIRED attributes during update. PASSWORD should be performed before PASSWORD_EXPIRED. -
getTestName
Gets Test name- Specified by:
getTestNamein classObjectClassRunner- Returns:
- Test Name
-