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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CallbackLogiccallbackLogic(CallbackLogic localLogic, Config config, CallbackLogic defaultLogic) static HttpActionAdapterhttpActionAdapter(HttpActionAdapter localAdapter, Config config, HttpActionAdapter defaultAdapter) static LogoutLogiclogoutLogic(LogoutLogic localLogic, Config config, LogoutLogic defaultLogic) static ProfileManagerFactoryprofileManagerFactory(ProfileManagerFactory localProfileManagerFactory, Config config, ProfileManagerFactory defaultProfileManagerFactory) static SecurityLogicsecurityLogic(SecurityLogic localLogic, Config config, SecurityLogic defaultLogic) static SessionStoresessionStore(SessionStore localSessionStore, Config config, SessionStore defaultSessionStore) Deprecated.static SessionStoreFactorysessionStoreFactory(SessionStoreFactory localFactory, Config config, SessionStoreFactory defaultFactory) static WebContextFactorywebContextFactory(WebContextFactory localFactory, Config config, WebContextFactory defaultFactory)
-
Constructor Details
-
FindBest
public FindBest()
-
-
Method Details
-
httpActionAdapter
public static HttpActionAdapter httpActionAdapter(HttpActionAdapter localAdapter, Config config, HttpActionAdapter defaultAdapter) -
sessionStore
@Deprecated public static SessionStore sessionStore(SessionStore localSessionStore, Config config, SessionStore defaultSessionStore) Deprecated. -
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)
-