@Override
        public String convert(final BsonTimestamp source) {
            return String.valueOf(source.getTime());
        }
The type BsonTimestamp to String converter.
support/cas-server-support-mongo-core/src/main/java/org/apereo/cas/mongo/BaseConverters.java