Class 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 the SingleConstraintMatch instances and identifying if any require authentication.
    Author:
    Stuart Douglas, Darran Lofthouse
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean isAuthenticationRequired​(io.undertow.server.HttpServerExchange exchange)  
      • Methods inherited from class io.undertow.security.handlers.AuthenticationConstraintHandler

        handleRequest
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServletAuthenticationConstraintHandler

        public ServletAuthenticationConstraintHandler​(io.undertow.server.HttpHandler next)
    • Method Detail

      • isAuthenticationRequired

        protected boolean isAuthenticationRequired​(io.undertow.server.HttpServerExchange exchange)
        Overrides:
        isAuthenticationRequired in class io.undertow.security.handlers.AuthenticationConstraintHandler