Uses of Interface
org.pac4j.core.context.session.SessionStore
Packages that use SessionStore
Package
Description
-
Uses of SessionStore in org.pac4j.core.authorization.authorizer
Methods in org.pac4j.core.authorization.authorizer with parameters of type SessionStoreModifier and TypeMethodDescriptionprotected abstract booleanAbstractRequireElementAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, E element) Check a specific element.protected booleanCheckHttpMethodAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, HttpConstants.HTTP_METHOD element) protected booleanCheckProfileTypeAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, Class element) protected booleanRequireAllPermissionsAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAllRolesAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAnyAttributeAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAnyPermissionAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanRequireAnyRoleAuthorizer.check(WebContext context, SessionStore sessionStore, UserProfile profile, String element) protected booleanAbstractCheckAuthenticationAuthorizer.handleError(WebContext context, SessionStore sessionStore) protected booleanProfileAuthorizer.handleError(WebContext context, SessionStore sessionStore) Handle the error.booleanProfileAuthorizer.isAllAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) If all profiles are authorized.booleanProfileAuthorizer.isAnyAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) If any of the profiles is authorized.booleanAbstractRequireElementAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanAndAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) Checks if the user profiles and / or the current web context are authorized.booleanCsrfAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsAnonymousAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsAuthenticatedAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsFullyAuthenticatedAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanIsRememberedAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) booleanOrAuthorizer.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles) protected booleanAbstractRequireAllAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) protected booleanAbstractRequireAnyAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsAnonymousAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsAuthenticatedAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsFullyAuthenticatedAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) booleanIsRememberedAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) protected abstract booleanProfileAuthorizer.isProfileAuthorized(WebContext context, SessionStore sessionStore, UserProfile profile) Whether a specific profile is authorized. -
Uses of SessionStore in org.pac4j.core.authorization.checker
Methods in org.pac4j.core.authorization.checker with parameters of type SessionStoreModifier and TypeMethodDescriptionbooleanAuthorizationChecker.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, String authorizerNames, Map<String, Authorizer> authorizersMap, List<Client> clients) Check whether the user is authorized.booleanDefaultAuthorizationChecker.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, String authorizersValue, Map<String, Authorizer> authorizersMap, List<Client> clients) protected booleanDefaultAuthorizationChecker.isAuthorized(WebContext context, SessionStore sessionStore, List<UserProfile> profiles, List<Authorizer> authorizers) -
Uses of SessionStore in org.pac4j.core.authorization.generator
Methods in org.pac4j.core.authorization.generator with parameters of type SessionStoreModifier and TypeMethodDescriptionAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) Generate the authorization information from and for the user profile.DefaultRolesPermissionsAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) FromAttributesAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) LoadLinkedUserAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) SpringSecurityPropertiesAuthorizationGenerator.generate(WebContext context, SessionStore sessionStore, UserProfile profile) -
Uses of SessionStore in org.pac4j.core.client
Methods in org.pac4j.core.client with parameters of type SessionStoreModifier and TypeMethodDescriptionClient.getCredentials(WebContext context, SessionStore sessionStore) Get the credentials from the web context.final Optional<Credentials>DirectClient.getCredentials(WebContext context, SessionStore sessionStore) final Optional<Credentials>IndirectClient.getCredentials(WebContext context, SessionStore sessionStore) Get the credentials from the web context.Client.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Return the logout action (indirect clients).final Optional<RedirectionAction>DirectClient.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) final Optional<RedirectionAction>IndirectClient.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Client.getRedirectionAction(WebContext context, SessionStore sessionStore) Return the redirection action to the authentication provider (indirect clients).final Optional<RedirectionAction>DirectClient.getRedirectionAction(WebContext context, SessionStore sessionStore) final Optional<RedirectionAction>IndirectClient.getRedirectionAction(WebContext context, SessionStore sessionStore) If an authentication has already been tried for this client and has failed (nullcredentials) or if the request is an AJAX one, an unauthorized response is thrown instead of a "redirection".final Optional<UserProfile>BaseClient.getUserProfile(Credentials credentials, WebContext context, SessionStore sessionStore) Client.getUserProfile(Credentials credentials, WebContext context, SessionStore sessionStore) Get the user profile based on the provided credentials.voidBaseClient.notifySessionRenewal(String oldSessionId, WebContext context, SessionStore sessionStore) Notify of the web session renewal.BaseClient.renewUserProfile(UserProfile profile, WebContext context, SessionStore sessionStore) Client.renewUserProfile(UserProfile profile, WebContext context, SessionStore sessionStore) Renew the user profile.protected Optional<Credentials>BaseClient.retrieveCredentials(WebContext context, SessionStore sessionStore) Retrieve the credentials.protected final Optional<UserProfile>BaseClient.retrieveUserProfile(Credentials credentials, WebContext context, SessionStore sessionStore) Retrieve a user profile. -
Uses of SessionStore in org.pac4j.core.config
Fields in org.pac4j.core.config declared as SessionStoreMethods in org.pac4j.core.config that return SessionStoreMethods in org.pac4j.core.config with parameters of type SessionStoreModifier and TypeMethodDescriptionvoidConfig.defaultSessionStore(SessionStore sessionStore) Deprecated.voidConfig.setSessionStore(SessionStore sessionStore) Deprecated. -
Uses of SessionStore in org.pac4j.core.context.session
Classes in org.pac4j.core.context.session that implement SessionStoreMethods in org.pac4j.core.context.session that return SessionStoreMethods in org.pac4j.core.context.session that return types with arguments of type SessionStoreModifier and TypeMethodDescriptionSessionStore.buildFromTrackableSession(WebContext context, Object trackableSession) Build a new session store from a trackable session. -
Uses of SessionStore in org.pac4j.core.credentials.authenticator
Methods in org.pac4j.core.credentials.authenticator with parameters of type SessionStoreModifier and TypeMethodDescriptionvoidAuthenticator.validate(Credentials credentials, WebContext context, SessionStore sessionStore) Validate the credentials.voidLocalCachingAuthenticator.validate(Credentials credentials, WebContext context, SessionStore sessionStore) -
Uses of SessionStore in org.pac4j.core.credentials.extractor
Methods in org.pac4j.core.credentials.extractor with parameters of type SessionStoreModifier and TypeMethodDescriptionBasicAuthExtractor.extract(WebContext context, SessionStore sessionStore) BearerAuthExtractor.extract(WebContext context, SessionStore sessionStore) CredentialsExtractor.extract(WebContext context, SessionStore sessionStore) Extract theCredentialsfrom aWebContextand returnOptional.empty()if no credentials are present or throw aCredentialsExceptionif it cannot get it.FormExtractor.extract(WebContext context, SessionStore sessionStore) HeaderExtractor.extract(WebContext context, SessionStore sessionStore) ParameterExtractor.extract(WebContext context, SessionStore sessionStore) -
Uses of SessionStore in org.pac4j.core.engine
Methods in org.pac4j.core.engine with parameters of type SessionStoreModifier and TypeMethodDescriptionSecurityGrantedAccessAdapter.adapt(WebContext context, SessionStore sessionStore, Collection<UserProfile> profiles, Object... parameters) Adapt the current successful action as the expected result.protected StringDefaultLogoutLogic.enhanceRedirectUrl(Config config, Client client, WebContext context, SessionStore sessionStore, String redirectUrl) protected HttpActionDefaultSecurityLogic.forbidden(WebContext context, SessionStore sessionStore, List<Client> currentClients, List<UserProfile> profiles, String authorizers) Return a forbidden error.protected List<UserProfile>DefaultSecurityLogic.loadProfiles(ProfileManager manager, WebContext context, SessionStore sessionStore, List<Client> clients) Load the profiles.CallbackLogic.perform(WebContext webContext, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, String defaultUrl, Boolean renewSession, String defaultClient) Perform the callback logic.DefaultCallbackLogic.perform(WebContext webContext, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, String inputDefaultUrl, Boolean inputRenewSession, String defaultClient) DefaultLogoutLogic.perform(WebContext context, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, String defaultUrl, String inputLogoutUrlPattern, Boolean inputLocalLogout, Boolean inputDestroySession, Boolean inputCentralLogout) DefaultSecurityLogic.perform(WebContext context, SessionStore sessionStore, Config config, SecurityGrantedAccessAdapter securityGrantedAccessAdapter, HttpActionAdapter httpActionAdapter, String clients, String authorizers, String matchers, Object... parameters) LogoutLogic.perform(WebContext context, SessionStore sessionStore, Config config, HttpActionAdapter httpActionAdapter, String defaultUrl, String logoutUrlPattern, Boolean localLogout, Boolean destroySession, Boolean centralLogout) Perform the application logout logic.SecurityLogic.perform(WebContext context, SessionStore sessionStore, Config config, SecurityGrantedAccessAdapter securityGrantedAccessAdapter, HttpActionAdapter httpActionAdapter, String clients, String authorizers, String matchers, Object... parameters) Perform the security logic.protected HttpActionDefaultSecurityLogic.redirectToIdentityProvider(WebContext context, SessionStore sessionStore, List<Client> currentClients) Perform a redirection to start the login process of the first indirect client.protected HttpActionDefaultCallbackLogic.redirectToOriginallyRequestedUrl(WebContext context, SessionStore sessionStore, String defaultUrl) protected voidDefaultCallbackLogic.renewSession(WebContext context, SessionStore sessionStore, Config config) protected voidDefaultSecurityLogic.saveRequestedUrl(WebContext context, SessionStore sessionStore, List<Client> currentClients, AjaxRequestResolver ajaxRequestResolver) Save the requested url.protected voidDefaultCallbackLogic.saveUserProfile(WebContext context, SessionStore sessionStore, Config config, UserProfile profile, boolean saveProfileInSession, boolean multiProfile, boolean renewSession) protected booleanDefaultSecurityLogic.startAuthentication(WebContext context, SessionStore sessionStore, List<Client> currentClients) Return whether we must start a login process if the first client is an indirect one.protected HttpActionDefaultSecurityLogic.unauthorized(WebContext context, SessionStore sessionStore, List<Client> currentClients) Return an unauthorized error. -
Uses of SessionStore in org.pac4j.core.engine.savedrequest
Methods in org.pac4j.core.engine.savedrequest with parameters of type SessionStoreModifier and TypeMethodDescriptionprotected StringDefaultSavedRequestHandler.getRequestedUrl(WebContext context, SessionStore sessionStore) DefaultSavedRequestHandler.restore(WebContext context, SessionStore sessionStore, String defaultUrl) SavedRequestHandler.restore(WebContext webContext, SessionStore sessionStore, String defaultUrl) Restore the saved request.voidDefaultSavedRequestHandler.save(WebContext context, SessionStore sessionStore) voidSavedRequestHandler.save(WebContext webContext, SessionStore sessionStore) Saves the current web context. -
Uses of SessionStore in org.pac4j.core.http.ajax
Methods in org.pac4j.core.http.ajax with parameters of type SessionStoreModifier and TypeMethodDescriptionAjaxRequestResolver.buildAjaxResponse(WebContext context, SessionStore sessionStore, RedirectionActionBuilder redirectionActionBuilder) Build an AJAX reponse.DefaultAjaxRequestResolver.buildAjaxResponse(WebContext context, SessionStore sessionStore, RedirectionActionBuilder redirectionActionBuilder) booleanAjaxRequestResolver.isAjax(WebContext context, SessionStore sessionStore) Whether it is an AJAX request.booleanDefaultAjaxRequestResolver.isAjax(WebContext context, SessionStore sessionStore) -
Uses of SessionStore in org.pac4j.core.logout
Methods in org.pac4j.core.logout with parameters of type SessionStoreModifier and TypeMethodDescriptionCasLogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) GoogleLogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) LogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) Return theRedirectionActionfor logout.NoLogoutActionBuilder.getLogoutAction(WebContext context, SessionStore sessionStore, UserProfile currentProfile, String targetUrl) -
Uses of SessionStore in org.pac4j.core.logout.handler
Methods in org.pac4j.core.logout.handler with parameters of type SessionStoreModifier and TypeMethodDescriptionprotected voidDefaultLogoutHandler.destroy(WebContext context, SessionStore sessionStore, String channel) voidDefaultLogoutHandler.destroySessionBack(WebContext context, SessionStore sessionStore, String key) default voidLogoutHandler.destroySessionBack(WebContext context, SessionStore sessionStore, String key) Destroys the current web session for the given key for a back channel logout.voidDefaultLogoutHandler.destroySessionFront(WebContext context, SessionStore sessionStore, String key) default voidLogoutHandler.destroySessionFront(WebContext context, SessionStore sessionStore, String key) Destroys the current web session for the given key for a front channel logout.voidDefaultLogoutHandler.recordSession(WebContext context, SessionStore sessionStore, String key) default voidLogoutHandler.recordSession(WebContext context, SessionStore sessionStore, String key) Associates a key with the current web session.voidDefaultLogoutHandler.renewSession(String oldSessionId, WebContext context, SessionStore sessionStore) default voidLogoutHandler.renewSession(String oldSessionId, WebContext context, SessionStore sessionStore) Renew the web session. -
Uses of SessionStore in org.pac4j.core.matching.checker
Methods in org.pac4j.core.matching.checker with parameters of type SessionStoreModifier and TypeMethodDescriptionprotected StringDefaultMatchingChecker.computeDefaultMatcherNames(WebContext context, SessionStore sessionStore, List<Client> clients, Map<String, Matcher> matchersMap) DefaultMatchingChecker.computeMatchers(WebContext context, SessionStore sessionStore, String matchersValue, Map<String, Matcher> matchersMap, List<Client> clients) booleanDefaultMatchingChecker.matches(WebContext context, SessionStore sessionStore, String matchersValue, Map<String, Matcher> matchersMap, List<Client> clients) protected booleanDefaultMatchingChecker.matches(WebContext context, SessionStore sessionStore, List<Matcher> matchers) booleanMatchingChecker.matches(WebContext context, SessionStore sessionStore, String matcherNames, Map<String, Matcher> matchersMap, List<Client> clients) Check if the web context matches. -
Uses of SessionStore in org.pac4j.core.matching.matcher
Methods in org.pac4j.core.matching.matcher with parameters of type SessionStoreModifier and TypeMethodDescriptionbooleanCacheControlMatcher.matches(WebContext context, SessionStore sessionStore) booleanCorsMatcher.matches(WebContext context, SessionStore sessionStore) booleanHeaderMatcher.matches(WebContext context, SessionStore sessionStore) booleanHttpMethodMatcher.matches(WebContext context, SessionStore sessionStore) booleanMatcher.matches(WebContext context, SessionStore sessionStore) Check if the web context matches.booleanPathMatcher.matches(WebContext context, SessionStore sessionStore) booleanStrictTransportSecurityMatcher.matches(WebContext context, SessionStore sessionStore) booleanXContentTypeOptionsMatcher.matches(WebContext context, SessionStore sessionStore) booleanXFrameOptionsMatcher.matches(WebContext context, SessionStore sessionStore) booleanXSSProtectionMatcher.matches(WebContext context, SessionStore sessionStore) -
Uses of SessionStore in org.pac4j.core.matching.matcher.csrf
Methods in org.pac4j.core.matching.matcher.csrf with parameters of type SessionStoreModifier and TypeMethodDescriptionCsrfTokenGenerator.get(WebContext context, SessionStore sessionStore) Get the CSRF token from the session or create it if it doesn't exist.DefaultCsrfTokenGenerator.get(WebContext context, SessionStore sessionStore) booleanCsrfTokenGeneratorMatcher.matches(WebContext context, SessionStore sessionStore) -
Uses of SessionStore in org.pac4j.core.profile
Fields in org.pac4j.core.profile declared as SessionStoreConstructors in org.pac4j.core.profile with parameters of type SessionStore -
Uses of SessionStore in org.pac4j.core.profile.creator
Methods in org.pac4j.core.profile.creator with parameters of type SessionStoreModifier and TypeMethodDescriptionAuthenticatorProfileCreator.create(Credentials credentials, WebContext context, SessionStore sessionStore) LocalCachingProfileCreator.create(Credentials credentials, WebContext context, SessionStore sessionStore) ProfileCreator.create(Credentials credentials, WebContext context, SessionStore sessionStore) Create a profile from a credentials. -
Uses of SessionStore in org.pac4j.core.profile.factory
Methods in org.pac4j.core.profile.factory with parameters of type SessionStoreModifier and TypeMethodDescriptionprotected ProfileManagerProfileManagerFactoryAware.getProfileManager(WebContext context, SessionStore sessionStore) -
Uses of SessionStore in org.pac4j.core.profile.service
Methods in org.pac4j.core.profile.service with parameters of type SessionStoreModifier and TypeMethodDescriptionvoidAbstractProfileService.validate(Credentials cred, WebContext context, SessionStore sessionStore) -
Uses of SessionStore in org.pac4j.core.redirect
Methods in org.pac4j.core.redirect with parameters of type SessionStoreModifier and TypeMethodDescriptionRedirectionActionBuilder.getRedirectionAction(WebContext context, SessionStore sessionStore) Return the appropriate "redirection" action. -
Uses of SessionStore in org.pac4j.core.util
Methods in org.pac4j.core.util that return SessionStoreModifier and TypeMethodDescriptionstatic SessionStoreFindBest.sessionStore(SessionStore localSessionStore, Config config, SessionStore defaultSessionStore) Deprecated.Methods in org.pac4j.core.util with parameters of type SessionStoreModifier and TypeMethodDescriptionstatic SessionStoreFindBest.sessionStore(SessionStore localSessionStore, Config config, SessionStore defaultSessionStore) Deprecated. -
Uses of SessionStore in org.pac4j.core.util.generator
Methods in org.pac4j.core.util.generator with parameters of type SessionStoreModifier and TypeMethodDescriptionRandomValueGenerator.generateValue(WebContext webContext, SessionStore sessionStore) StaticValueGenerator.generateValue(WebContext webContext, SessionStore sessionStore) ValueGenerator.generateValue(WebContext webContext, SessionStore sessionStore)