wizardDetectorTestLoginName.js 699 B

12345678910111213141516171819202122232425262728
  1. /**
  2. * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. OCA = OCA || {};
  6. (function() {
  7. /**
  8. * @classdesc checks whether the provided log in name can be resolved into
  9. * a DN using the current login filter
  10. *
  11. * @constructor
  12. */
  13. var WizardDetectorTestLoginName = OCA.LDAP.Wizard.WizardDetectorTestAbstract.subClass({
  14. /** @inheritdoc */
  15. init: function() {
  16. // given, it is not a configuration key
  17. this.setTargetKey('ldap_test_loginname');
  18. this.testName = 'TestLoginName';
  19. this.wizardMethod = 'testLoginName';
  20. this.runsOnRequest = true;
  21. }
  22. });
  23. OCA.LDAP.Wizard.WizardDetectorTestLoginName = WizardDetectorTestLoginName;
  24. })();