Package com.eka.middleware.auth.pac4j
Class AuthHandlers
java.lang.Object
com.eka.middleware.auth.pac4j.AuthHandlers
-
Field Summary
Modifier and TypeFieldDescriptionstatic io.undertow.server.HttpHandler
static io.undertow.server.HttpHandler
static io.undertow.server.HttpHandler
static io.undertow.server.HttpHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.undertow.server.HttpHandler
static io.undertow.server.HttpHandler
forceLoginHandler
(org.pac4j.core.config.Config config) static org.pac4j.undertow.account.Pac4jAccount
getAuthAccount
(io.undertow.server.HttpServerExchange exchange) static org.pac4j.core.profile.UserProfile
getProfile
(io.undertow.server.HttpServerExchange exchange) static boolean
handlerCORSRequest
(io.undertow.server.HttpServerExchange exchange) static io.undertow.server.HttpHandler
static io.undertow.server.HttpHandler
loginFormHandler
(org.pac4j.core.config.Config config)
-
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
-
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)
-