Class AuthenticationApiOpTests

    • Constructor Detail

      • AuthenticationApiOpTests

        public AuthenticationApiOpTests()
    • Method Detail

      • testOpEnable

        @ParameterizedTest
        @MethodSource("objectClasses")
        public void testOpEnable​(ObjectClass objectClass)
        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.