Class CurrentUserUiComponentPoliciesCacheInvalidator

java.lang.Object
io.jmix.uiconstraints.security.impl.CurrentUserUiComponentPoliciesCacheInvalidator

@Component("uicns_CurrentUserUiComponentPoliciesCacheInvalidator") public class CurrentUserUiComponentPoliciesCacheInvalidator extends Object
Invalidates the cache of the CurrentUserUiComponentPolicies bean when the user is substituted. This explicit invalidation is required because CurrentUserUiComponentPolicies is a session-scoped bean, and the HTTP session is not recreated when the user is substituted.
  • Constructor Details

    • CurrentUserUiComponentPoliciesCacheInvalidator

      public CurrentUserUiComponentPoliciesCacheInvalidator(CurrentUserUiComponentPolicies currentUserUiComponentPolicies)