Class ServletAuthenticationConstraintHandler
java.lang.Object
io.undertow.security.handlers.AuthenticationConstraintHandler
io.undertow.servlet.handlers.security.ServletAuthenticationConstraintHandler
- All Implemented Interfaces:
HttpHandler
A simple handler that just sets the auth type to REQUIRED after iterating each of the
SingleConstraintMatch instances
and identifying if any require authentication.- Author:
- Stuart Douglas, Darran Lofthouse
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAuthenticationRequired(HttpServerExchange exchange) Methods inherited from class io.undertow.security.handlers.AuthenticationConstraintHandler
handleRequest
-
Constructor Details
-
ServletAuthenticationConstraintHandler
-
-
Method Details
-
isAuthenticationRequired
- Overrides:
isAuthenticationRequiredin classAuthenticationConstraintHandler
-