Package org.pac4j.core.util
Class FindBest
java.lang.Object
org.pac4j.core.util.FindBest
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 SessionStoreFactory
sessionStoreFactory
(SessionStoreFactory localFactory, Config config, SessionStoreFactory defaultFactory) static WebContextFactory
webContextFactory
(WebContextFactory localFactory, Config config, WebContextFactory defaultFactory)
-
Constructor Details
-
FindBest
public FindBest()
-
-
Method Details
-
httpActionAdapter
public static HttpActionAdapter httpActionAdapter(HttpActionAdapter localAdapter, Config config, HttpActionAdapter defaultAdapter) -
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) -
sessionStoreFactory
public static SessionStoreFactory sessionStoreFactory(SessionStoreFactory localFactory, Config config, SessionStoreFactory defaultFactory)
-