Package org.pac4j.core.config
Class Config
java.lang.Object
org.pac4j.core.config.Config
The default configuration with clients, authorizers, matchers, etc.
- Since:
- 1.8.0
- Author:
- Jerome Leleu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<String,Authorizer> protected CallbackLogicprotected Clientsprotected HttpActionAdapterstatic final Configprotected LogoutLogicprotected SecurityLogicprotected SessionStoreprotected SessionStoreFactoryprotected WebContextFactory -
Constructor Summary
ConstructorsConstructorDescriptionConfig()Config(Map<String, Authorizer> authorizers) Config(Map<String, Authorizer> authorizers, Client... clients) Config(Client client, Map<String, Authorizer> authorizers) Config(Clients clients, Map<String, Authorizer> authorizers) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAuthorizer(String name, Authorizer authorizer) voidaddMatcher(String name, Matcher matcher) static voiddefaultProfileManagerFactory(String name, ProfileManagerFactory profileManagerFactory) Deprecated.voiddefaultProfileManagerFactory(ProfileManagerFactory profileManagerFactory) voiddefaultSessionStore(SessionStore sessionStore) Deprecated.voiddefaultSessionStoreFactory(SessionStoreFactory sessionStoreFactory) Deprecated.voidsetAuthorizer(Authorizer authorizer) voidsetAuthorizers(Map<String, Authorizer> authorizers) voidsetCallbackLogic(CallbackLogic callbackLogic) voidsetClients(Clients clients) static voidvoidsetHttpActionAdapter(HttpActionAdapter httpActionAdapter) voidsetLogoutLogic(LogoutLogic logoutLogic) voidsetMatcher(Matcher matcher) voidsetMatchers(Map<String, Matcher> matchers) static voidsetProfileManagerFactory(String name, ProfileManagerFactory profileManagerFactory) Deprecated.voidsetProfileManagerFactory(ProfileManagerFactory profileManagerFactory) voidsetSecurityLogic(SecurityLogic securityLogic) voidsetSessionStore(SessionStore sessionStore) Deprecated.voidsetSessionStoreFactory(SessionStoreFactory sessionStoreFactory) voidsetWebContextFactory(WebContextFactory webContextFactory)
-
Field Details
-
INSTANCE
-
clients
-
authorizers
-
matchers
-
sessionStore
-
httpActionAdapter
-
securityLogic
-
callbackLogic
-
logoutLogic
-
webContextFactory
-
sessionStoreFactory
-
-
Constructor Details
-
Config
public Config() -
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
Config
-
-
Method Details
-
getClients
-
setClients
-
getAuthorizers
-
setAuthorizer
-
setAuthorizers
-
addAuthorizer
-
getMatchers
-
setMatcher
-
setMatchers
-
addMatcher
-
getSessionStore
Deprecated. -
setSessionStore
Deprecated. -
defaultSessionStore
Deprecated. -
getHttpActionAdapter
-
setHttpActionAdapter
-
getSecurityLogic
-
setSecurityLogic
-
getCallbackLogic
-
setCallbackLogic
-
getLogoutLogic
-
setLogoutLogic
-
getWebContextFactory
-
setWebContextFactory
-
getSessionStoreFactory
-
setSessionStoreFactory
-
defaultSessionStoreFactory
-
getProfileManagerFactory
-
setProfileManagerFactory
-
defaultProfileManagerFactory
-
setProfileManagerFactory
@Deprecated public static void setProfileManagerFactory(String name, ProfileManagerFactory profileManagerFactory) Deprecated. -
defaultProfileManagerFactory
@Deprecated public static void defaultProfileManagerFactory(String name, ProfileManagerFactory profileManagerFactory) Deprecated. -
setConfig
-