public class ServletConfidentialityConstraintHandler extends SinglePortConfidentialityHandler
SinglePortConfidentialityHandler
Constructor and Description |
---|
ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager,
HttpHandler next) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
confidentialityRequired(HttpServerExchange exchange) |
protected URI |
getRedirectURI(HttpServerExchange exchange) |
void |
handleRequest(HttpServerExchange exchange) |
protected boolean |
isConfidential(HttpServerExchange exchange)
Use the HttpServerExchange supplied to check if this request is already 'sufficiently' confidential.
|
getRedirectURI
public ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager, HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
handleRequest
in interface HttpHandler
handleRequest
in class AbstractConfidentialityHandler
Exception
protected boolean confidentialityRequired(HttpServerExchange exchange)
confidentialityRequired
in class AbstractConfidentialityHandler
protected URI getRedirectURI(HttpServerExchange exchange) throws URISyntaxException
getRedirectURI
in class SinglePortConfidentialityHandler
URISyntaxException
protected boolean isConfidential(HttpServerExchange exchange)
isConfidential
in class AbstractConfidentialityHandler
exchange
- - The HttpServerExchange
for the request being processed.Copyright © 2020 JBoss by Red Hat. All rights reserved.