Package com.eka.middleware.auth.pac4j
Class AuthHandlers
java.lang.Object
com.eka.middleware.auth.pac4j.AuthHandlers
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic io.undertow.server.HttpHandlerstatic io.undertow.server.HttpHandlerstatic io.undertow.server.HttpHandlerstatic io.undertow.server.HttpHandler
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic io.undertow.server.HttpHandlerstatic io.undertow.server.HttpHandlerforceLoginHandler(org.pac4j.core.config.Config config) static org.pac4j.undertow.account.Pac4jAccountgetAuthAccount(io.undertow.server.HttpServerExchange exchange) static org.pac4j.core.profile.UserProfilegetProfile(io.undertow.server.HttpServerExchange exchange) static booleanhandlerCORSRequest(io.undertow.server.HttpServerExchange exchange) static io.undertow.server.HttpHandlerstatic io.undertow.server.HttpHandlerloginFormHandler(org.pac4j.core.config.Config config) 
- 
Field Details- 
logoutHandlerpublic static io.undertow.server.HttpHandler logoutHandler
- 
mainHandlerpublic static io.undertow.server.HttpHandler mainHandler
- 
notProtectedIndexpublic static io.undertow.server.HttpHandler notProtectedIndex
- 
authenticatedJsonHandlerpublic static io.undertow.server.HttpHandler authenticatedJsonHandler
 
- 
- 
Constructor Details- 
AuthHandlerspublic AuthHandlers()
 
- 
- 
Method Details- 
indexHandlerpublic static io.undertow.server.HttpHandler indexHandler()
- 
defaultWelcomePageHandler
- 
handlerCORSRequestpublic static boolean handlerCORSRequest(io.undertow.server.HttpServerExchange exchange) 
- 
getAuthAccountpublic static org.pac4j.undertow.account.Pac4jAccount getAuthAccount(io.undertow.server.HttpServerExchange exchange) 
- 
getProfilepublic static org.pac4j.core.profile.UserProfile getProfile(io.undertow.server.HttpServerExchange exchange) 
- 
loginFormHandlerpublic static io.undertow.server.HttpHandler loginFormHandler(org.pac4j.core.config.Config config) 
- 
forceLoginHandlerpublic static io.undertow.server.HttpHandler forceLoginHandler(org.pac4j.core.config.Config config) 
 
-