@ConditionalOnMissingBean(name = "casAttributeEncoder")
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    public ProtocolAttributeEncoder casAttributeEncoder(
        @Qualifier(ServicesManager.BEAN_NAME)
        final ServicesManager servicesManager,
        @Qualifier("cacheCredentialsCipherExecutor")
        final CipherExecutor cacheCredentialsCipherExecutor,
        @Qualifier(RegisteredServiceCipherExecutor.DEFAULT_BEAN_NAME)
        final RegisteredServiceCipherExecutor registeredServiceCipherExecutor) {
        return new DefaultCasProtocolAttributeEncoder(servicesManager, registeredServiceCipherExecutor, cacheCredentialsCipherExecutor);
    }
This is {@link CasCoreServicesAuthenticationConfiguration}.

@author Misagh Moayyed
@since 5.2.0
core/cas-server-core-services/src/main/java/org/apereo/cas/config/CasCoreServicesAuthenticationConfiguration.java