public interface SimpleValidator extends Validator, ValidatorFactory
Validator implementations.
SimpleValidator's should be implemented as singletons.| Modifier and Type | Method and Description |
|---|---|
default void |
close()
This is called when the server shuts down.
|
default Validator |
create(KeycloakSession session) |
default void |
init(Config.Scope config)
Only called once when the factory is first created.
|
default void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
validate, validate, validate, validate, validate, validate, validatevalidateConfiggetId, orderdefault Validator create(KeycloakSession session)
create in interface ProviderFactory<Validator>default void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<Validator>default void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<Validator>default void close()
ValidatorFactoryclose in interface Providerclose in interface ProviderFactory<Validator>close in interface Validatorclose in interface ValidatorFactoryCopyright © 2021 JBoss by Red Hat. All rights reserved.