Package org.dspace.eperson.factory
Class CaptchaServiceFactoryImpl
java.lang.Object
org.dspace.eperson.factory.CaptchaServiceFactory
org.dspace.eperson.factory.CaptchaServiceFactoryImpl
Factory to get services for Captcha protection of DSpace forms / endpoints
- Author:
- Kim Shepherd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the configured Altcha CaptchaService.Get the configured CaptchService TODO: This will be fully "operational" once we have full coverage of all forms by all supported captcha providers.Get the configured Google CaptchaService.Methods inherited from class org.dspace.eperson.factory.CaptchaServiceFactory
getInstance
-
Constructor Details
-
CaptchaServiceFactoryImpl
public CaptchaServiceFactoryImpl()
-
-
Method Details
-
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:
getCaptchaServicein classCaptchaServiceFactory- Returns:
- the configured 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:
getAltchaCaptchaServicein classCaptchaServiceFactory- Returns:
- the configured Altcha 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:
getGoogleCaptchaServicein classCaptchaServiceFactory- Returns:
- the configured Google CaptchaService
-