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 CallbackLogic
protected Clients
protected HttpActionAdapter
static final Config
protected LogoutLogic
protected SecurityLogic
protected SessionStore
protected SessionStoreFactory
protected 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 TypeMethodDescriptionvoid
addAuthorizer
(String name, Authorizer authorizer) void
addMatcher
(String name, Matcher matcher) static void
defaultProfileManagerFactory
(String name, ProfileManagerFactory profileManagerFactory) Deprecated.void
defaultProfileManagerFactory
(ProfileManagerFactory profileManagerFactory) void
defaultSessionStore
(SessionStore sessionStore) Deprecated.void
defaultSessionStoreFactory
(SessionStoreFactory sessionStoreFactory) Deprecated.void
setAuthorizer
(Authorizer authorizer) void
setAuthorizers
(Map<String, Authorizer> authorizers) void
setCallbackLogic
(CallbackLogic callbackLogic) void
setClients
(Clients clients) static void
void
setHttpActionAdapter
(HttpActionAdapter httpActionAdapter) void
setLogoutLogic
(LogoutLogic logoutLogic) void
setMatcher
(Matcher matcher) void
setMatchers
(Map<String, Matcher> matchers) static void
setProfileManagerFactory
(String name, ProfileManagerFactory profileManagerFactory) Deprecated.void
setProfileManagerFactory
(ProfileManagerFactory profileManagerFactory) void
setSecurityLogic
(SecurityLogic securityLogic) void
setSessionStore
(SessionStore sessionStore) Deprecated.void
setSessionStoreFactory
(SessionStoreFactory sessionStoreFactory) void
setWebContextFactory
(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
-