public class ServletConfidentialityConstraintHandler
extends io.undertow.security.handlers.SinglePortConfidentialityHandler
SinglePortConfidentialityHandler| Constructor and Description |
|---|
ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager,
io.undertow.server.HttpHandler next) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
confidentialityRequired(io.undertow.server.HttpServerExchange exchange) |
protected URI |
getRedirectURI(io.undertow.server.HttpServerExchange exchange) |
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
protected boolean |
isConfidential(io.undertow.server.HttpServerExchange exchange)
Use the HttpServerExchange supplied to check if this request is already 'sufficiently' confidential.
|
public ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager, io.undertow.server.HttpHandler next)
public void handleRequest(io.undertow.server.HttpServerExchange exchange)
throws Exception
handleRequest in interface io.undertow.server.HttpHandlerhandleRequest in class io.undertow.security.handlers.AbstractConfidentialityHandlerExceptionprotected boolean confidentialityRequired(io.undertow.server.HttpServerExchange exchange)
confidentialityRequired in class io.undertow.security.handlers.AbstractConfidentialityHandlerprotected URI getRedirectURI(io.undertow.server.HttpServerExchange exchange) throws URISyntaxException
getRedirectURI in class io.undertow.security.handlers.SinglePortConfidentialityHandlerURISyntaxExceptionprotected boolean isConfidential(io.undertow.server.HttpServerExchange exchange)
isConfidential in class io.undertow.security.handlers.AbstractConfidentialityHandlerexchange - - The HttpServerExchange for the request being processed.Copyright © 2017. All rights reserved.