Package org.restheart.security.handlers
Class SecurityHandler
java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.security.handlers.SecurityHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionSecurityHandler(Set<PluginRecord<AuthMechanism>> mechanisms, Set<PluginRecord<Authorizer>> authorizers, PluginRecord<TokenManager> tokenManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) protected voidsetNext(PipelinedHandler next) Methods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe
-
Constructor Details
-
SecurityHandler
public SecurityHandler(Set<PluginRecord<AuthMechanism>> mechanisms, Set<PluginRecord<Authorizer>> authorizers, PluginRecord<TokenManager> tokenManager) - Parameters:
mechanisms-authorizers-tokenManager-
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Throws:
Exception
-
setNext
- Overrides:
setNextin classPipelinedHandler
-