Class AuthCookieRemover

java.lang.Object
org.restheart.security.authenticators.AuthCookieRemover
All Implemented Interfaces:
org.restheart.exchange.CORSHeaders, org.restheart.plugins.BsonService, org.restheart.plugins.ConfigurablePlugin, org.restheart.plugins.ExchangeTypeResolver<org.restheart.exchange.BsonRequest,org.restheart.exchange.BsonResponse>, org.restheart.plugins.HandlingPlugin<org.restheart.exchange.BsonRequest,org.restheart.exchange.BsonResponse>, org.restheart.plugins.Plugin, org.restheart.plugins.Service<org.restheart.exchange.BsonRequest,org.restheart.exchange.BsonResponse>

public class AuthCookieRemover extends Object implements org.restheart.plugins.BsonService
unsets the rh_auth_token cookie
Author:
Andrea Di Cesare invalid input: '<'andrea@softinstigate.com>
  • Field Summary

    Fields inherited from interface org.restheart.exchange.CORSHeaders

    ACCESS_CONTROL_ALLOW_CREDENTIAL, ACCESS_CONTROL_ALLOW_HEADERS, ACCESS_CONTROL_ALLOW_METHODS, ACCESS_CONTROL_ALLOW_ORIGIN, ACCESS_CONTROL_EXPOSE_HEADERS, DEFAULT_ACCESS_CONTROL_ALLOW_CREDENTIALS, DEFAULT_ACCESS_CONTROL_ALLOW_HEADERS, DEFAULT_ACCESS_CONTROL_ALLOW_METHODS, DEFAULT_ACCESS_CONTROL_ALLOW_ORIGIN, DEFAULT_ACCESS_CONTROL_EXPOSE_HEADERS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(org.restheart.exchange.BsonRequest req, org.restheart.exchange.BsonResponse res)
     
    void
     

    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.BsonService

    request, requestInitializer, response, responseInitializer

    Methods inherited from interface org.restheart.plugins.ConfigurablePlugin

    arg, argOrDefault

    Methods inherited from interface org.restheart.exchange.CORSHeaders

    accessControlAllowCredentials, accessControlAllowHeaders, accessControlAllowMethods, accessControlAllowOrigin, accessControlExposeHeaders

    Methods inherited from interface org.restheart.plugins.ExchangeTypeResolver

    requestType, responseType

    Methods inherited from interface org.restheart.plugins.Service

    handle, handleOptions, handleOptions
  • Constructor Details

    • AuthCookieRemover

      public AuthCookieRemover()
  • Method Details

    • init

      public void init()
    • handle

      public void handle(org.restheart.exchange.BsonRequest req, org.restheart.exchange.BsonResponse res) throws Exception
      Specified by:
      handle in interface org.restheart.plugins.Service<org.restheart.exchange.BsonRequest,org.restheart.exchange.BsonResponse>
      Throws:
      Exception