Package org.pac4j.core.util
Class FindBest
- java.lang.Object
-
- org.pac4j.core.util.FindBest
-
public class FindBest extends java.lang.Object
Utility class to find the best adapter, logic... in the following order: 1) the local one 2) the one from the config 3) the default one (must not be null).- Since:
- 4.0.0
- Author:
- Jerome LELEU
-
-
Constructor Summary
Constructors Constructor Description FindBest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CallbackLogic
callbackLogic(CallbackLogic localLogic, Config config, CallbackLogic defaultLogic)
static HttpActionAdapter
httpActionAdapter(HttpActionAdapter localAdapter, Config config, HttpActionAdapter defaultAdapter)
static LogoutLogic
logoutLogic(LogoutLogic localLogic, Config config, LogoutLogic defaultLogic)
static ProfileManagerFactory
profileManagerFactory(ProfileManagerFactory localProfileManagerFactory, Config config, ProfileManagerFactory defaultProfileManagerFactory)
static SecurityLogic
securityLogic(SecurityLogic localLogic, Config config, SecurityLogic defaultLogic)
static SessionStore
sessionStore(SessionStore localSessionStore, Config config, SessionStore defaultSessionStore)
static WebContextFactory
webContextFactory(WebContextFactory localFactory, Config config, WebContextFactory defaultFactory)
-
-
-
Method Detail
-
httpActionAdapter
public static HttpActionAdapter httpActionAdapter(HttpActionAdapter localAdapter, Config config, HttpActionAdapter defaultAdapter)
-
sessionStore
public static SessionStore sessionStore(SessionStore localSessionStore, Config config, SessionStore defaultSessionStore)
-
profileManagerFactory
public static ProfileManagerFactory profileManagerFactory(ProfileManagerFactory localProfileManagerFactory, Config config, ProfileManagerFactory defaultProfileManagerFactory)
-
securityLogic
public static SecurityLogic securityLogic(SecurityLogic localLogic, Config config, SecurityLogic defaultLogic)
-
callbackLogic
public static CallbackLogic callbackLogic(CallbackLogic localLogic, Config config, CallbackLogic defaultLogic)
-
logoutLogic
public static LogoutLogic logoutLogic(LogoutLogic localLogic, Config config, LogoutLogic defaultLogic)
-
webContextFactory
public static WebContextFactory webContextFactory(WebContextFactory localFactory, Config config, WebContextFactory defaultFactory)
-
-