Hi, You're right, I missed the point: https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/deployerConfigContext.xml#L64. I will fix my overlay.
Thanks. Best regards, Jérôme 2016-03-14 19:02 GMT+01:00 Misagh Moayyed <[email protected]>: > Are you running master, or are you testing with an overlay? On master, I > can’t duplicate this. The dependency is aliased. > > > > *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Jérôme > LELEU > *Sent:* Monday, March 14, 2016 9:27 AM > *To:* Dmitriy Kopylenko <[email protected]> > *Cc:* CAS Developer <[email protected]> > *Subject:* Re: [cas-dev] No qualifying bean of type > [org.jasig.cas.CipherExecutor] > > > > Hi, > > > > I think that the idea was that the first constructor was used by default, > but I'm not sure to understand how this could work. > > > > For me, we should only have one constructor with @Autowired(required = > false) and add a NoCipherExecutor if the provided cipher is null. > > > > Thanks. > > Best regards, > > Jérôme > > > > > > 2016-03-14 16:09 GMT+01:00 Dmitriy Kopylenko <[email protected]>: > > I just did a quick check. Yes, looks like the > ‘defaultCookieCipherExecutor’ @Component is missing hence the missing bean > definition. > > > > D. > > > > On Mar 14, 2016, at 11:00 AM, leleuj <[email protected]> wrote: > > > > Hi, > > > > I'm testing the latest 4.3-SNAPSHOT and I get the following error: > > > > Injection of autowired dependencies failed; nested exception is > org.springframework.beans.factory.BeanCreationException: Could not autowire > method: public void > org.jasig.cas.web.flow.InitialFlowSetupAction.setTicketGrantingTicketCookieGenerator(org.jasig.cas.web.support.CookieRetrievingCookieGenerator); > ... Error creating bean with name 'defaultCookieValueManager' defined in > URL > [jar:file:/Users/jleleu/tools/apache-tomcat-8.0.24/webapps/cas/WEB-INF/lib/cas-server-webapp-cookie-4.3.0-SNAPSHOT.jar!/org/jasig/cas/web/support/DefaultCasCookieValueManager.class]: > Unsatisfied dependency expressed through constructor argument with index 0 > of type [org.jasig.cas.CipherExecutor]: : No qualifying bean of type > [org.jasig.cas.CipherExecutor] found for dependency: expected at least 1 > bean which qualifies as autowire candidate for this dependency. Dependency > annotations: > {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)}; > ... nested exception is > org.springframework.beans.factory.NoSuchBeanDefinitionException: No > qualifying bean of type [org.jasig.cas.CipherExecutor] found for > dependency: expected at least 1 bean which qualifies as autowire candidate > for this dependency. Dependency annotations: > {@org.springframework.beans.factory.annotation.Qualifier(value=defaultCookieCipherExecutor)} > > > > Does someone else has the problem? > > > > It seems the second constructor of DefaultCasCookieValueManager requires > a defaultCookieCipherExecutor bean, which is missing ( > https://github.com/Jasig/cas/blob/master/cas-server-webapp-cookie/src/main/java/org/jasig/cas/web/support/DefaultCasCookieValueManager.java#L46 > ). > > > > Am I missing something? > > > > Thanks. > > Best regards, > > Jérôme > > > > > > -- > You received this message because you are subscribed to the Google Groups > "CAS Developer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "CAS Developer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/. > > -- > You received this message because you are subscribed to the Google Groups > "CAS Developer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/. > -- You received this message because you are subscribed to the Google Groups "CAS Developer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-dev/.
