Package org.keycloak.services.cors
Class DefaultCorsFactory
java.lang.Object
org.keycloak.services.cors.DefaultCorsFactory
- All Implemented Interfaces:
- ProviderFactory<Cors>,- CorsFactory
- Author:
- Dmitry Telegin
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactorydependsOn, getConfigMetadata, order
- 
Constructor Details- 
DefaultCorsFactorypublic DefaultCorsFactory()
 
- 
- 
Method Details- 
create- Specified by:
- createin interface- ProviderFactory<Cors>
 
- 
initDescription copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
- initin interface- ProviderFactory<Cors>
 
- 
postInitDescription copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<Cors>
 
- 
closepublic void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<Cors>
 
- 
getId- Specified by:
- getIdin interface- ProviderFactory<Cors>
 
 
-