SingleConstraintMatch instances
and identifying if any require authentication.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | isAuthenticationRequired(final HttpServerExchange
- the exchange)HttpServerExchange for the current request to decide if authentication is required.Overrides io. Evaluate the current request and indicate if authentication is required for the current request. |
| ServletAuthenticationConstraintHandler | back to summary |
|---|---|
| public ServletAuthenticationConstraintHandler(final HttpHandler next) | |
| isAuthenticationRequired | back to summary |
|---|---|
| protected boolean isAuthenticationRequired(final HttpServerExchange exchange) Overrides io. Doc from io. Evaluate the current request and indicate if authentication is required for the current request. By default this will always return true, sub-classes will override this method to provide a more specific check.
| |