Class ServletAuthenticationConstraintHandler
- java.lang.Object
-
- io.undertow.security.handlers.AuthenticationConstraintHandler
-
- io.undertow.servlet.handlers.security.ServletAuthenticationConstraintHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class ServletAuthenticationConstraintHandler extends io.undertow.security.handlers.AuthenticationConstraintHandler
A simple handler that just sets the auth type to REQUIRED after iterating each of theSingleConstraintMatch
instances and identifying if any require authentication.- Author:
- Stuart Douglas, Darran Lofthouse
-
-
Constructor Summary
Constructors Constructor Description ServletAuthenticationConstraintHandler(io.undertow.server.HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isAuthenticationRequired(io.undertow.server.HttpServerExchange exchange)
-