Package org.pac4j.core.util
Class FindBest
- java.lang.Object
-
- org.pac4j.core.util.FindBest
-
public class FindBest extends 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
-
-
-
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)
-
profileManagerFactory2
public static ProfileManagerFactory2 profileManagerFactory2(ProfileManagerFactory2 localProfileManagerFactory2, Config config, ProfileManagerFactory2 defaultProfileManagerFactory2)
-
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)
-
-