Class BasicAuthenticationHttpHandler


  • public final class BasicAuthenticationHttpHandler
    extends java.lang.Object
    Basic authentication utility
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.undertow.server.HttpHandler addHandler​(IWebServerConfiguration configuration, io.undertow.server.HttpHandler handlerToWrap)
      Add basic authentication
      static io.undertow.server.HttpHandler addHandler​(IWebServerConfiguration configuration, io.undertow.server.HttpHandler handlerToWrap, java.lang.String realmName, io.undertow.security.idm.IdentityManager identityManager)
      Add basic authentication
      • Methods inherited from class java.lang.Object

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

      • addHandler

        public static io.undertow.server.HttpHandler addHandler​(IWebServerConfiguration configuration,
                                                                io.undertow.server.HttpHandler handlerToWrap)
        Add basic authentication
        Parameters:
        configuration - the configuration
        handlerToWrap - the handler to wrap
        Returns:
        the handler
      • addHandler

        public static io.undertow.server.HttpHandler addHandler​(IWebServerConfiguration configuration,
                                                                io.undertow.server.HttpHandler handlerToWrap,
                                                                java.lang.String realmName,
                                                                io.undertow.security.idm.IdentityManager identityManager)
        Add basic authentication
        Parameters:
        configuration - the configuration
        handlerToWrap - the handler to wrap
        realmName - the realm name
        identityManager - the idendity provider
        Returns:
        the handler