Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(Object) - Method in interface org.keycloak.models.map.storage.file.common.BlockContext
-
Modifies the
result returnedfrom within this context by providing the read primitive value or a single sequence item in thevalueparameter. - add(Object) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- add(Object) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultObjectContext
- add(Object) - Method in class org.keycloak.models.map.storage.file.common.StringListMapContext.AttributeValueYamlContext
- add(String, Object) - Method in interface org.keycloak.models.map.storage.file.common.BlockContext
-
Modifies the
result returnedfrom within this context by providing the read mapping entrynameto givenvalue. - add(String, Object) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
- add(String, Object) - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- add(String, Object) - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext.MapEntitySequenceYamlContext
- ARRAY_CONTEXT - Static variable in class org.keycloak.models.map.storage.file.yaml.YamlParser
- ATTRIBUTES_NAME - Static variable in class org.keycloak.models.map.storage.file.common.MapEntityContext
- AttributeValueYamlContext() - Constructor for class org.keycloak.models.map.storage.file.common.StringListMapContext.AttributeValueYamlContext
B
- BlockContext<V> - Interface in org.keycloak.models.map.storage.file.common
-
A class implementing a
BlockContextinterface represents a transformer from a primitive value / sequence / mapping representation as declared in YAML format into a Java object of typeV, with ability to produce theresulting instanceof parsing. - BlockContext.DefaultListContext<T> - Class in org.keycloak.models.map.storage.file.common
- BlockContext.DefaultMapContext<T> - Class in org.keycloak.models.map.storage.file.common
- BlockContext.DefaultObjectContext<T> - Class in org.keycloak.models.map.storage.file.common
- BlockContextStack - Class in org.keycloak.models.map.storage.file.common
-
A special stack suited for tracking the parser of a block language, and maintaining contextual information for block nesting position in the YAML file.
- BlockContextStack(BlockContext<?>) - Constructor for class org.keycloak.models.map.storage.file.common.BlockContextStack
C
- canParseFile(Path) - Static method in class org.keycloak.models.map.storage.file.FileCrudOperations
- checkIsSafeToModify(Path) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
-
Hook to validate that it is safe to modify the file identified by the supplied
Path. - close() - Method in class org.keycloak.models.map.storage.file.FileMapStorageProvider
- close() - Method in class org.keycloak.models.map.storage.file.yaml.PathWriter
- close() - Method in class org.keycloak.models.map.storage.file.yaml.YamlWritingMechanism
- commit() - Method in class org.keycloak.models.map.storage.file.FileMapStorage
- create(KeycloakSession) - Method in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- create(V) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- createCriteriaBuilder() - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- criteria() - Static method in class org.keycloak.models.map.storage.file.FileCriteriaBuilder
D
- DefaultListContext(Class<T>) - Constructor for class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- DefaultMapContext(Class<T>) - Constructor for class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
- DefaultObjectContext(Class<T>) - Constructor for class org.keycloak.models.map.storage.file.common.BlockContext.DefaultObjectContext
- delete(String) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- delete(QueryParameters<M>) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- determineKeyFromValue(V) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
-
Returns escaped ID - relative file name in the file system with path separator
FileCrudOperations.ID_COMPONENT_SEPARATOR. - determineKeyFromValue(V, String) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- DUMP_SETTINGS - Static variable in class org.keycloak.models.map.storage.file.FileCrudOperations
F
- fieldsToContextCreators(Class<T>) - Static method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- fieldsToEntityField(Class<T>) - Static method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- FILE_SUFFIX - Static variable in class org.keycloak.models.map.storage.file.FileCrudOperations
- FileCriteriaBuilder<M> - Class in org.keycloak.models.map.storage.file
- FileCrudOperations<V extends AbstractEntity & UpdatableEntity,
M> - Class in org.keycloak.models.map.storage.file - FileCrudOperations(Class<V>, Function<String, Path>, Function<V, String[]>, boolean) - Constructor for class org.keycloak.models.map.storage.file.FileCrudOperations
- FileMapStorage<V extends AbstractEntity & UpdatableEntity,
M> - Class in org.keycloak.models.map.storage.file -
MapStorageimplementation used with the file map storage. - FileMapStorageProvider - Class in org.keycloak.models.map.storage.file
-
File-based
MapStorageProviderimplementation. - FileMapStorageProvider(KeycloakSession, FileMapStorageProviderFactory, int) - Constructor for class org.keycloak.models.map.storage.file.FileMapStorageProvider
- FileMapStorageProviderFactory - Class in org.keycloak.models.map.storage.file
-
A
MapStorageProviderFactorythat creates file-basedMapStorageProviders. - FileMapStorageProviderFactory() - Constructor for class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- flush() - Method in class org.keycloak.models.map.storage.file.yaml.PathWriter
G
- getContext(String) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- getContext(String) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
- getContext(String) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultObjectContext
- getContext(String) - Method in interface org.keycloak.models.map.storage.file.common.BlockContext
-
Called after reading a key of map entry in YAML file and before reading its value.
- getContext(String) - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- getContext(String) - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext.MapEntityMappingYamlContext
- getContext(String) - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext.MapEntitySequenceYamlContext
- getContext(String) - Method in class org.keycloak.models.map.storage.file.common.StringListMapContext
- getCount(QueryParameters<M>) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- getDataDirectoryFunc(String) - Method in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- getHelpText() - Method in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- getId() - Method in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- getLastModifiedTime(Path) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
-
Hook to obtain the last modified time of the file identified by the supplied
Path. - getMapStorage(Class<M>, MapStorageProviderFactory.Flag...) - Method in class org.keycloak.models.map.storage.file.FileMapStorageProvider
- getPathForEscapedId(String) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- getPathForEscapedId(String[]) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- getPredicates(Class<V>) - Static method in class org.keycloak.models.map.storage.file.FileCrudOperations
- getRealmId() - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- getResult() - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- getResult() - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
- getResult() - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultObjectContext
- getResult() - Method in interface org.keycloak.models.map.storage.file.common.BlockContext
-
Returns the result of parsing the given part of YAML file.
- getResult() - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- getScalarType() - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- getScalarType() - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
- getScalarType() - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultObjectContext
- getScalarType() - Method in interface org.keycloak.models.map.storage.file.common.BlockContext
- getScalarType() - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- getTxId() - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
I
- ID_COMPONENT_SEPARATOR - Static variable in class org.keycloak.models.map.storage.file.FileCrudOperations
- init(Config.Scope) - Method in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- instantiateForNode(ModelCriteriaNode<M>) - Method in class org.keycloak.models.map.storage.file.FileCriteriaBuilder
- isSupported() - Method in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- itemClass - Variable in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- itemClass - Variable in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
M
- MapEntityContext<T> - Class in org.keycloak.models.map.storage.file.common
-
BlockContextwhich handles any entity accompanied withEntityFieldfield getters and setters, namelyMap*Entityclasses. - MapEntityContext(Class<T>) - Constructor for class org.keycloak.models.map.storage.file.common.MapEntityContext
- MapEntityContext(Class<T>, boolean) - Constructor for class org.keycloak.models.map.storage.file.common.MapEntityContext
- MapEntityContext(Class<T>, Map<String, EntityField<?>>, Map<String, Supplier<? extends BlockContext<?>>>, boolean) - Constructor for class org.keycloak.models.map.storage.file.common.MapEntityContext
- MapEntityContext.MapEntityMappingYamlContext<T> - Class in org.keycloak.models.map.storage.file.common
- MapEntityContext.MapEntitySequenceYamlContext<T> - Class in org.keycloak.models.map.storage.file.common
- MapEntityMappingYamlContext(Class<T>) - Constructor for class org.keycloak.models.map.storage.file.common.MapEntityContext.MapEntityMappingYamlContext
- MapEntitySequenceYamlContext(Class<T>) - Constructor for class org.keycloak.models.map.storage.file.common.MapEntityContext.MapEntitySequenceYamlContext
N
- newDefaultListContext() - Static method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- newDefaultMapContext() - Static method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
- newDefaultObjectContext() - Static method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultObjectContext
- newInstance(Class<V>, Function<String, Path>, Function<V, String[]>, boolean) - Static method in class org.keycloak.models.map.storage.file.FileMapStorage
O
- objectClass - Variable in class org.keycloak.models.map.storage.file.common.MapEntityContext
- org.keycloak.models.map.storage.file - package org.keycloak.models.map.storage.file
- org.keycloak.models.map.storage.file.common - package org.keycloak.models.map.storage.file.common
- org.keycloak.models.map.storage.file.yaml - package org.keycloak.models.map.storage.file.yaml
P
- parse() - Method in class org.keycloak.models.map.storage.file.yaml.YamlParser
- parse(Path) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- parse(Path, BlockContext<E>) - Static method in class org.keycloak.models.map.storage.file.yaml.YamlParser
- parseMapping() - Method in class org.keycloak.models.map.storage.file.yaml.YamlParser
-
Parses a mapping node inside the current context.
- parseNode() - Method in class org.keycloak.models.map.storage.file.yaml.YamlParser
- parseScalar(ScalarEvent) - Method in class org.keycloak.models.map.storage.file.yaml.YamlParser
-
Parses a scalar node inside the current context.
- parseSequence() - Method in class org.keycloak.models.map.storage.file.yaml.YamlParser
-
Parses a sequence node inside the current context.
- PathWriter - Class in org.keycloak.models.map.storage.file.yaml
- PathWriter(Path) - Constructor for class org.keycloak.models.map.storage.file.yaml.PathWriter
- postInit(KeycloakSessionFactory) - Method in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- prefixed(String) - Static method in class org.keycloak.models.map.storage.file.common.StringListMapContext
-
Returns a YAML attribute-like context where key of each element is stored in YAML file without a given prefix, and in the internal representation each key has that prefix.
- PROVIDER_ID - Static variable in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- push(String, Supplier<BlockContext<?>>) - Method in class org.keycloak.models.map.storage.file.common.BlockContextStack
-
Pushes the subcontext to the stack.
R
- read(String) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- read(QueryParameters<M>) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- registerEntityForChanges(V) - Method in class org.keycloak.models.map.storage.file.FileMapStorage
- registerRenameOnCommit(Path, Path) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- removeIfExists(Path) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- removeIfExists(Path) - Method in class org.keycloak.models.map.storage.file.FileMapStorage
- result - Variable in class org.keycloak.models.map.storage.file.common.MapEntityContext
- rollback() - Method in class org.keycloak.models.map.storage.file.FileMapStorage
S
- SCHEMA_VERSION - Static variable in class org.keycloak.models.map.storage.file.common.MapEntityContext
- SEARCHABLE_FIELD_REALM_ID_FIELD_NAME - Static variable in class org.keycloak.models.map.storage.file.FileCrudOperations
- setEntityField(T, EntityField<? super T>, Object) - Static method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- setRealmId(String) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- StringListMapContext - Class in org.keycloak.models.map.storage.file.common
-
Block context which suitable for properties stored in a
Map<String, List<String>>which accepts string mapping key, and entry value is recognized both as a plain value (converted to string) or a list of values - StringListMapContext() - Constructor for class org.keycloak.models.map.storage.file.common.StringListMapContext
- StringListMapContext.AttributeValueYamlContext - Class in org.keycloak.models.map.storage.file.common
T
- toString() - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- touch(String, Path) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
- touch(String, Path) - Method in class org.keycloak.models.map.storage.file.FileMapStorage
U
- UNIQUE_HUMAN_READABLE_NAME_FIELD - Static variable in class org.keycloak.models.map.storage.file.FileMapStorageProviderFactory
- update(V) - Method in class org.keycloak.models.map.storage.file.FileCrudOperations
W
- write(String) - Method in class org.keycloak.models.map.storage.file.yaml.PathWriter
- write(String, int, int) - Method in class org.keycloak.models.map.storage.file.yaml.PathWriter
- writeMapping(Runnable) - Method in interface org.keycloak.models.map.storage.file.common.WritingMechanism
-
Writes a mapping, items of which are written using this mechanism in the
task. - writeMapping(Runnable) - Method in class org.keycloak.models.map.storage.file.yaml.YamlWritingMechanism
- writeObject(Object) - Method in interface org.keycloak.models.map.storage.file.common.WritingMechanism
-
Writes a value of a primitive type (
null, boolean, number, String). - writeObject(Object) - Method in class org.keycloak.models.map.storage.file.yaml.YamlWritingMechanism
- writePair(String, Runnable) - Method in interface org.keycloak.models.map.storage.file.common.WritingMechanism
-
Writes a mapping key/value pair, items of which are written using this mechanism in the
task. - writePair(String, Runnable) - Method in class org.keycloak.models.map.storage.file.yaml.YamlWritingMechanism
- writeSequence(Runnable) - Method in interface org.keycloak.models.map.storage.file.common.WritingMechanism
-
Writes a sequence, items of which are written using this mechanism in the
task. - writeSequence(Runnable) - Method in class org.keycloak.models.map.storage.file.yaml.YamlWritingMechanism
- writeValue(Object, WritingMechanism) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultObjectContext
- writeValue(Collection<String>, WritingMechanism) - Method in class org.keycloak.models.map.storage.file.common.StringListMapContext.AttributeValueYamlContext
- writeValue(Collection<T>, WritingMechanism) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultListContext
- writeValue(Map<String, Collection<String>>, WritingMechanism) - Method in class org.keycloak.models.map.storage.file.common.StringListMapContext
- writeValue(Map<String, T>, WritingMechanism) - Method in class org.keycloak.models.map.storage.file.common.BlockContext.DefaultMapContext
- writeValue(T, WritingMechanism) - Method in class org.keycloak.models.map.storage.file.common.MapEntityContext
- writeValue(V, WritingMechanism) - Method in interface org.keycloak.models.map.storage.file.common.BlockContext
-
Writes the given value using
WritingMechanism. - WritingMechanism - Interface in org.keycloak.models.map.storage.file.common
-
Class implementing this interface defines mechanism for writing basic structures: primitive types, sequences and maps.
Y
- YamlParser<E> - Class in org.keycloak.models.map.storage.file.yaml
- YamlParser(Parser, BlockContext<E>) - Constructor for class org.keycloak.models.map.storage.file.yaml.YamlParser
- YamlWritingMechanism - Class in org.keycloak.models.map.storage.file.yaml
-
Mechanism which produces
Events for SnakeYaml v2Emitter. - YamlWritingMechanism(Consumer<Event>) - Constructor for class org.keycloak.models.map.storage.file.yaml.YamlWritingMechanism
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form