@Override
    public Object getProperty(
        @Nonnull
        final String s) {
        return list.stream()
            .filter(prop -> prop.getName().equals(s))
            .findFirst()
            .map(MongoDbProperty::getValue)
            .orElse(null);
    }
This is {@link MongoDbPropertySource}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-configuration-cloud-mongo/src/main/java/org/apereo/cas/MongoDbPropertySource.java