Introduction

The module holds the common functionalities for the different captcha modules.

Business

Development

Facades

CaptchaFacade

The CaptchaFacade validates the user’s captcha. To achieve it, it:

  • checks if the given request contains a valid Dto;

  • resets the captcha fields

Storefront security filter

CaptchaUsernamePasswordAuthenticationFilter

The CaptchaUsernamePasswordAuthenticationFilter extends the Spring’s OncePerRequestFilter. The implementation validates the user’s captcha.

Integration

The integration with the Nemesis platform is pretty straight-forward - just add the module in your classpath:

<dependency>
    <groupId>io.nemesis.platform.module.captcha</groupId>
    <artifactId>nemesis-module-commoncaptcha</artifactId>
</dependency>