Annotation Interface Indexing


@Retention(RUNTIME) @Target(TYPE) @Documented public @interface Indexing
Configures the indexing characteristics of an indexed session repository.
Author:
Paul Ferraro
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The indexes recognized by this session repository.
    Class<? extends org.springframework.session.IndexResolver>
    The index resolver class name.
  • Element Details

    • indexes

      Index[] indexes
      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.spring.session.config.annotation.Index(id="SPRING_SECURITY_CONTEXT", name="org.springframework.session.FindByIndexNameSessionRepository.PRINCIPAL_NAME_INDEX_NAME")}
    • resolverClass

      Class<? extends org.springframework.session.IndexResolver> resolverClass
      The index resolver class name. Default resolver only resolves the Spring Security principal.
      Returns:
      an index resolver class.
      Default:
      org.springframework.session.PrincipalNameIndexResolver.class