@Bean
        @ConditionalOnAvailableEndpoint
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public PasswordManagementEndpoint passwordManagementEndpoint(
            @Qualifier(WebApplicationService.BEAN_NAME_FACTORY)
            final ObjectProvider<ServiceFactory<WebApplicationService>> webApplicationServiceFactory,
            @Qualifier(ServicesManager.BEAN_NAME)
            final ObjectProvider<ServicesManager> servicesManager,
            @Qualifier(AuthenticationSystemSupport.BEAN_NAME)
            final ObjectProvider<AuthenticationSystemSupport> authenticationSystemSupport,
            final ConfigurableApplicationContext applicationContext,
            final CasConfigurationProperties casProperties,
            @Qualifier(PasswordManagementService.DEFAULT_BEAN_NAME)
            final ObjectProvider<PasswordManagementService> passwordManagementService,
            @Qualifier(PrincipalResolver.BEAN_NAME_PRINCIPAL_RESOLVER)
            final ObjectProvider<PrincipalResolver> defaultPrincipalResolver,
            @Qualifier(CommunicationsManager.BEAN_NAME)
            final ObjectProvider<CommunicationsManager> communicationsManager,
            @Qualifier(PasswordResetUrlBuilder.BEAN_NAME)
            final ObjectProvider<PasswordResetUrlBuilder> passwordResetUrlBuilder,
            @Qualifier(AuditableExecution.AUDITABLE_EXECUTION_REGISTERED_SERVICE_ACCESS)
            final ObjectProvider<AuditableExecution> registeredServiceAccessStrategyEnforcer) {
            return new PasswordManagementEndpoint(casProperties, applicationContext,
                communicationsManager, passwordManagementService,
                passwordResetUrlBuilder, webApplicationServiceFactory,
                servicesManager, defaultPrincipalResolver,
                authenticationSystemSupport, registeredServiceAccessStrategyEnforcer);
        }
This is {@link PasswordManagementWebflowConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-pm-webflow/src/main/java/org/apereo/cas/config/PasswordManagementWebflowConfiguration.java