Class CaptchaServiceFactoryImpl

java.lang.Object
org.dspace.eperson.factory.CaptchaServiceFactory
org.dspace.eperson.factory.CaptchaServiceFactoryImpl

public class CaptchaServiceFactoryImpl extends CaptchaServiceFactory
Factory to get services for Captcha protection of DSpace forms / endpoints
Author:
Kim Shepherd
  • Constructor Details

    • CaptchaServiceFactoryImpl

      public CaptchaServiceFactoryImpl()
  • Method Details

    • getCaptchaService

      public CaptchaService getCaptchaService()
      Get the configured CaptchService TODO: This will be fully "operational" once we have full coverage of all forms by all supported captcha providers. Until then, REST repositories should request the specific captcha service required.
      Specified by:
      getCaptchaService in class CaptchaServiceFactory
      Returns:
      the configured CaptchaService
    • getAltchaCaptchaService

      public CaptchaService getAltchaCaptchaService()
      Get the configured Altcha CaptchaService. This is needed by REST repositories processing captcha payloads for forms that are *only* protected by Altcha. TODO: We are working towards full coverage of all forms by all providers
      Specified by:
      getAltchaCaptchaService in class CaptchaServiceFactory
      Returns:
      the configured Altcha CaptchaService
    • getGoogleCaptchaService

      public CaptchaService getGoogleCaptchaService()
      Get the configured Google CaptchaService. This is needed by REST repositories processing captcha payloads for forms that are *only* protected by Google. TODO: We are working towards full coverage of all forms by all providers
      Specified by:
      getGoogleCaptchaService in class CaptchaServiceFactory
      Returns:
      the configured Google CaptchaService