Class AuthHandlers

java.lang.Object
com.eka.middleware.auth.pac4j.AuthHandlers

public class AuthHandlers extends Object
  • Field Details

    • logoutHandler

      public static io.undertow.server.HttpHandler logoutHandler
    • mainHandler

      public static io.undertow.server.HttpHandler mainHandler
    • notProtectedIndex

      public static io.undertow.server.HttpHandler notProtectedIndex
    • authenticatedJsonHandler

      public static io.undertow.server.HttpHandler authenticatedJsonHandler
  • Constructor Details

    • AuthHandlers

      public AuthHandlers()
  • Method Details

    • indexHandler

      public static io.undertow.server.HttpHandler indexHandler()
    • defaultWelcomePageHandler

      public static io.undertow.server.HttpHandler defaultWelcomePageHandler(String path)
    • handlerCORSRequest

      public static boolean handlerCORSRequest(io.undertow.server.HttpServerExchange exchange)
    • getAuthAccount

      public static org.pac4j.undertow.account.Pac4jAccount getAuthAccount(io.undertow.server.HttpServerExchange exchange)
    • getProfile

      public static org.pac4j.core.profile.UserProfile getProfile(io.undertow.server.HttpServerExchange exchange)
    • loginFormHandler

      public static io.undertow.server.HttpHandler loginFormHandler(org.pac4j.core.config.Config config)
    • forceLoginHandler

      public static io.undertow.server.HttpHandler forceLoginHandler(org.pac4j.core.config.Config config)