@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public JdkMongoSessionConverter jdkMongoSessionConverter() {
        return new JdkMongoSessionConverter(Duration.ofMinutes(DURATION_MINUTES));
    }
This is {@link CasMongoSessionAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-session-mongo/src/main/java/org/apereo/cas/config/CasMongoSessionAutoConfiguration.java