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)
Use the HttpServerExchange to identify if confidentiality is required.
|
protected URI |
getRedirectURI(HttpServerExchange exchange)
All sub-classes are required to provide an implementation of this method, using the HttpServerExchange for the current
request return the address to use for a redirect should confidentiality be required and the request not be confidential.
|
getRedirectURI
handleRequest, isConfidential
public ServletConfidentialityConstraintHandler(ConfidentialPortManager portManager, HttpHandler next)
protected boolean confidentialityRequired(HttpServerExchange exchange)
AbstractConfidentialityHandler
confidentialityRequired
in class AbstractConfidentialityHandler
exchange
- - The HttpServerExchange
for the request being processed.protected URI getRedirectURI(HttpServerExchange exchange) throws URISyntaxException
AbstractConfidentialityHandler
getRedirectURI
in class SinglePortConfidentialityHandler
exchange
- - The HttpServerExchange
for the request being processed.URI
to redirect to.URISyntaxException
Copyright © 2013 JBoss by Red Hat. All rights reserved.