@Override
    public void putAttributes(final RegisteredService registeredService,
                              final RegisteredServicePrincipalAttributesRepository repository,
                              final String id, final Map<String, List<Object>> attributes) {
        lock.tryLock(__ -> {
            val cache = getRegisteredServiceCacheInstance(registeredService, repository);
            cache.put(id, attributes);
        });
    }
This is {@link DefaultPrincipalAttributesRepositoryCache}.

@author Misagh Moayyed
@since 6.1.0
core/cas-server-core-authentication-attributes/src/main/java/org/apereo/cas/authentication/principal/cache/DefaultPrincipalAttributesRepositoryCache.java