public class ServletConfidentialityConstraintHandler
extends io.undertow.security.handlers.SinglePortConfidentialityHandler
SinglePortConfidentialityHandler
Constructor | Description |
---|---|
ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager,
io.undertow.server.HttpHandler next) |
Modifier and Type | Method | 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 class io.undertow.security.handlers.AbstractConfidentialityHandler
Exception
protected boolean confidentialityRequired(io.undertow.server.HttpServerExchange exchange)
confidentialityRequired
in class io.undertow.security.handlers.AbstractConfidentialityHandler
protected URI getRedirectURI(io.undertow.server.HttpServerExchange exchange) throws URISyntaxException
getRedirectURI
in class io.undertow.security.handlers.SinglePortConfidentialityHandler
URISyntaxException
protected boolean isConfidential(io.undertow.server.HttpServerExchange exchange)
isConfidential
in class io.undertow.security.handlers.AbstractConfidentialityHandler
exchange
- - The HttpServerExchange
for the request being processed.Copyright © 2018. All rights reserved.