Class DenyFilterOnUserPwd

java.lang.Object
org.restheart.security.authenticators.DenyFilterOnUserPwd
All Implemented Interfaces:
org.restheart.plugins.ConfigurablePlugin, org.restheart.plugins.ExchangeTypeResolver<org.restheart.exchange.MongoRequest,org.restheart.exchange.MongoResponse>, org.restheart.plugins.Interceptor<org.restheart.exchange.MongoRequest,org.restheart.exchange.MongoResponse>, org.restheart.plugins.MongoInterceptor, org.restheart.plugins.Plugin

public class DenyFilterOnUserPwd extends Object implements org.restheart.plugins.MongoInterceptor
Author:
Andrea Di Cesare <andrea@softinstigate.com> DenyFilterOnUserPasswordPredicate checks if a request has a filter involving the password field
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(org.restheart.exchange.MongoRequest request, org.restheart.exchange.MongoResponse response)
     
    void
     
    boolean
    resolve(org.restheart.exchange.MongoRequest request, org.restheart.exchange.MongoResponse 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

    • DenyFilterOnUserPwd

      public DenyFilterOnUserPwd()
  • Method Details

    • init

      public void init()
    • resolve

      public boolean resolve(org.restheart.exchange.MongoRequest request, org.restheart.exchange.MongoResponse response)
      Specified by:
      resolve in interface org.restheart.plugins.Interceptor<org.restheart.exchange.MongoRequest,org.restheart.exchange.MongoResponse>
    • handle

      public void handle(org.restheart.exchange.MongoRequest request, org.restheart.exchange.MongoResponse response) throws Exception
      Specified by:
      handle in interface org.restheart.plugins.Interceptor<org.restheart.exchange.MongoRequest,org.restheart.exchange.MongoResponse>
      Throws:
      Exception