Top Description Fields Constructors Methods
io.undertow.servlet.handlers.security

public Class ServletSecurityRoleHandler

extends Object
implements HttpHandler
Class Inheritance
All Implemented Interfaces
io.undertow.server.HttpHandler
Imports
io.undertow.security.api.SecurityContext, io.undertow.server.HttpHandler, .HttpServerExchange, io.undertow.servlet.api.AuthorizationManager, .SingleConstraintMatch, io.undertow.servlet.handlers.ServletRequestContext, io.undertow.util.StatusCodes, jakarta.servlet.DispatcherType, .ServletRequest, jakarta.servlet.http.HttpServletResponse, java.util.List

Servlet role handler
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final AuthorizationManager
private final HttpHandler

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
handleRequest(final HttpServerExchange
the HTTP request/response exchange
exchange
)

Implements io.undertow.server.HttpHandler.handleRequest.

Handle the request.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

authorizationManagerback to summary
private final AuthorizationManager authorizationManager
nextback to summary
private final HttpHandler next

Constructor Detail

ServletSecurityRoleHandlerback to summary
public ServletSecurityRoleHandler(final HttpHandler next, AuthorizationManager authorizationManager)

Method Detail

handleRequestback to summary
public void handleRequest(final HttpServerExchange exchange) throws Exception

Implements io.undertow.server.HttpHandler.handleRequest.

Doc from io.undertow.server.HttpHandler.handleRequest.

Handle the request.

Parameters
exchange:HttpServerExchange

the HTTP request/response exchange

Annotations
@Override