Package org.keycloak.cookie
Class DefaultCookieProviderFactory
java.lang.Object
org.keycloak.cookie.DefaultCookieProviderFactory
- All Implemented Interfaces:
CookieProviderFactory,ProviderFactory<CookieProvider>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) Returns the metadata for each configuration property supported by this factory.getId()voidinit(Config.Scope config) Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
order
-
Constructor Details
-
DefaultCookieProviderFactory
public DefaultCookieProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<CookieProvider>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<CookieProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<CookieProvider>
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<CookieProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<CookieProvider>
-
getConfigMetadata
Description copied from interface:ProviderFactoryReturns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadatain interfaceProviderFactory<CookieProvider>- Returns:
- a list with the metadata for each configuration property supported by this factory
-