Annotation Interface Indexing
@Deprecated(forRemoval=true)
@Retention(RUNTIME)
@Target(TYPE)
@Documented
public @interface Indexing
Deprecated, for removal: This API element is subject to removal in a future version.
Configures the indexing characteristics of an indexed session repository.
- Author:
- Paul Ferraro
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionIndex[]Deprecated, for removal: This API element is subject to removal in a future version.The indexes recognized by this session repository.Class<? extends org.springframework.session.IndexResolver> Deprecated, for removal: This API element is subject to removal in a future version.The index resolver class name.
-
Element Details
-
indexes
Index[] indexesDeprecated, for removal: This API element is subject to removal in a future version.The indexes recognized by this session repository. Default indexes only includes the Spring Security principal.- Returns:
- an array of index names
- Default:
{@org.wildfly.clustering.web.spring.annotation.Index(id="SPRING_SECURITY_CONTEXT", name="org.springframework.session.FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME")}
-
resolverClass
Class<? extends org.springframework.session.IndexResolver> resolverClassDeprecated, for removal: This API element is subject to removal in a future version.The index resolver class name. Default resolver only resolves the Spring Security principal.- Returns:
- an index resolver class.
- Default:
org.springframework.session.PrincipalNameIndexResolver.class
-
Indexinginstead.