Class UserPwdHasher

java.lang.Object
org.restheart.security.authenticators.UserPwdHasher
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 UserPwdHasher extends Object implements org.restheart.plugins.MongoInterceptor
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • 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

    • UserPwdHasher

      public UserPwdHasher()
  • Method Details

    • init

      public void init()
    • 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
    • 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>