Class AuthCookieHandler
java.lang.Object
org.restheart.security.authenticators.AuthCookieHandler
- 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
sets the Authorization headers from the auth cookie
- Author:
- Andrea Di Cesare invalid input: '<'andrea@softinstigate.com>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.restheart.plugins.ConfigurablePlugin
arg, argOrDefaultMethods inherited from interface org.restheart.plugins.ExchangeTypeResolver
requestType, responseType
-
Constructor Details
-
AuthCookieHandler
public AuthCookieHandler()
-
-
Method Details
-
init
public void init() -
handle
public void handle(org.restheart.exchange.ServiceRequest<?> req, org.restheart.exchange.ServiceResponse<?> res) throws Exception - Specified by:
handlein interfaceorg.restheart.plugins.Interceptor<org.restheart.exchange.ServiceRequest<?>,org.restheart.exchange.ServiceResponse<?>> - Throws:
Exception
-
resolve
public boolean resolve(org.restheart.exchange.ServiceRequest<?> req, org.restheart.exchange.ServiceResponse<?> res) - Specified by:
resolvein interfaceorg.restheart.plugins.Interceptor<org.restheart.exchange.ServiceRequest<?>,org.restheart.exchange.ServiceResponse<?>>
-