protected Map<String, List<Object>> toMultivaluedMap(final Map<String, Object> seed) {
        val multiSeed = new LinkedCaseInsensitiveMap<List<Object>>(seed.size());
        for (val seedEntry : seed.entrySet()) {
            val seedName = seedEntry.getKey();
            val seedValue = seedEntry.getValue();
            if (seedValue instanceof final List list) {
                multiSeed.put(seedName, list);
            } else if (seedValue != null) {
                multiSeed.put(seedName, List.of(seedValue));
            }
        }
        return multiSeed;
    }
Base {@link PersonAttributeDao} that provides implementations of the deprecated methods.

@author Eric Dalquist
@since 7.1.0
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/attribute/BasePersonAttributeDao.java