Class BruteForceAttackGuard

java.lang.Object
org.restheart.security.interceptors.BruteForceAttackGuard
All Implemented Interfaces:
org.restheart.plugins.ConfigurablePlugin, org.restheart.plugins.ExchangeTypeResolver<org.restheart.exchange.ServiceRequest<?>,org.restheart.exchange.ServiceResponse<?>>, org.restheart.plugins.Interceptor<org.restheart.exchange.ServiceRequest<?>,org.restheart.exchange.ServiceResponse<?>>, org.restheart.plugins.Plugin, org.restheart.plugins.WildcardInterceptor

public class BruteForceAttackGuard extends Object implements org.restheart.plugins.WildcardInterceptor
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(org.restheart.exchange.ServiceRequest<?> request, org.restheart.exchange.ServiceResponse<?> response)
     
    void
     
    boolean
    resolve(org.restheart.exchange.ServiceRequest<?> request, org.restheart.exchange.ServiceResponse<?> response)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.restheart.plugins.ConfigurablePlugin

    arg, argOrDefault

    Methods inherited from interface org.restheart.plugins.ExchangeTypeResolver

    requestType, responseType
  • Constructor Details

    • BruteForceAttackGuard

      public BruteForceAttackGuard()
  • Method Details

    • init

      public void init()
    • handle

      public void handle(org.restheart.exchange.ServiceRequest<?> request, org.restheart.exchange.ServiceResponse<?> response) throws Exception
      Specified by:
      handle in interface org.restheart.plugins.Interceptor<org.restheart.exchange.ServiceRequest<?>,org.restheart.exchange.ServiceResponse<?>>
      Throws:
      Exception
    • resolve

      public boolean resolve(org.restheart.exchange.ServiceRequest<?> request, org.restheart.exchange.ServiceResponse<?> response)
      Specified by:
      resolve in interface org.restheart.plugins.Interceptor<org.restheart.exchange.ServiceRequest<?>,org.restheart.exchange.ServiceResponse<?>>