Hi.
Could you solved this ?

Thanks,
Fabio

El martes, 13 de julio de 2021 a las 18:40:54 UTC+2, [email protected] 
escribió:

> Hey!
>
> We have exactly the same issue on 6.4.0-SNAPSHOT (and all release 
> candidates that came out for 6.4.X) with the following setup:
>
> dependencies {
>
> [...]
>     compile 
> "org.apereo.cas:cas-server-support-mongo-ticket-registry:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-gauth-mongo:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-throttle-mongo:${project.'cas.version'}"
>     compile 
> "org.apereo.cas:cas-server-support-webauthn-mongo:${project.'cas.version'}"
>
>
> The error we get is the following:
>
> ```
>
> 2021-07-13 19:08:27,125 ERROR 
> [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter] - <
>
> ***************************
> APPLICATION FAILED TO START
> ***************************
>
> Description:
>
> Parameter 1 of method gridFsTemplate in 
> org.springframework.boot.autoconfigure.data.mongo.MongoDatabaseFactoryDependentConfiguration
>  
> required a single bean, but 3 were found:
>
>
>     - mongoDbGoogleAuthenticatorTemplate: defined in BeanDefinition 
> defined in class path resource 
> [org/apereo/cas/config/GoogleAuthenticatorMongoDbConfiguration.class]
>
>     - mongoDbTicketRegistryTemplate: defined in BeanDefinition defined in 
> class path resource 
> [org/apereo/cas/config/MongoDbTicketRegistryConfiguration.class]
>     - mongoWebAuthnTemplate: defined in BeanDefinition defined in class 
> path resource [org/apereo/cas/config/MongoDbWebAuthnConfiguration.class]
>
>
> Action:
>
> Consider marking one of the beans as @Primary, updating the consumer to 
> accept multiple beans, or using @Qualifier to identify the bean that should 
> be consumed
> >
>
> ```
>
> Is there any workaround for this issue?
>
>
> Thanks in advance,
>
> Linos
> On 4/8/21 8:48 AM, SK Sahraoui wrote:
>
> I have a dual MFA setup with simple MFA (SMS) and GAuth; I'm using groovy 
> scripts to select the appropriate MFA and to send an SMS; MongoDB cluster 
> is used for ticket registry
>
> The problem is with simple-mfa, the SMS is sent but I get the following 
> error:
>
> java.lang.IllegalArgumentException: Unable to find ticket serializer for 
> CASMFA-XXXXX
>
> the full error trace is here: 
> https://gist.github.com/sksadri/3f2b7408815f2ed037c664ce882f624d
>
> GAuth works fine and I'm using CAS 6.3.2 
>
> I also tried 6.4-RC3 but CAS fails to start with 
>
> Parameter 1 of method gridFsTemplate in 
> org.springframework.boot.autoconfigure.data.mongo.MongoDatabaseFactoryDependentConfiguration
>  
> required a single bean, but 2 were found:
> - mongoDbGoogleAuthenticatorTemplate: defined in BeanDefinition defined in 
> class path resource 
> [org/apereo/cas/config/GoogleAuthenticatorMongoDbConfiguration.class]
> - mongoDbTicketRegistryTemplate: defined in BeanDefinition defined in 
> class path resource 
> [org/apereo/cas/config/MongoDbTicketRegistryConfiguration.class
>
>
>
> Can someone point out what am I missing here?
>
> Thanks
>
> -- 
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/cas
> - List Guidelines: https://goo.gl/1VRrw7
> - Contributions: https://goo.gl/mh7qDG
> --- 
> You received this message because you are subscribed to the Google Groups 
> "CAS Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/669cd0f6-74c3-4fe7-9513-06ef490bf03cn%40apereo.org
>  
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/669cd0f6-74c3-4fe7-9513-06ef490bf03cn%40apereo.org?utm_medium=email&utm_source=footer>
> .
>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/94e48311-7638-4798-ba8d-e9a9f30e3db8n%40apereo.org.

Reply via email to