security/subsystem/src/main/java/org/jboss/as/security/plugins/DefaultAuthenticationCacheFactory.java
public ConcurrentMap<Principal, DomainInfo> getCache() {
        return new LRUCache<>(1000, (key, value) -> {
            if (value != null) {
                value.logout();
            }
        });
    }
public ConcurrentMap<Principal, DomainInfo> getCache() {
        return new LRUCache<>(1000, (key, value) -> {
            if (value != null) {
                value.logout();
            }
        });
    }
Returns a default cache implementation

@return cache implementation