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
protected LogoutLogic
protected SecurityLogic
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) void
defaultProfileManagerFactory
(ProfileManagerFactory profileManagerFactory) void
defaultSessionStoreFactory
(SessionStoreFactory sessionStoreFactory) void
setAuthorizer
(Authorizer authorizer) void
setAuthorizers
(Map<String, Authorizer> authorizers) void
setMatcher
(Matcher matcher) void
setMatchers
(Map<String, Matcher> matchers)
-
Field Details
-
clients
-
authorizers
-
matchers
-
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
-
setAuthorizer
-
setAuthorizers
-
addAuthorizer
-
setMatcher
-
setMatchers
-
addMatcher
-
defaultSessionStoreFactory
-
defaultProfileManagerFactory
-