It is better with 5.2.3-SNAPSHOT. Now i've this error :
WARN [org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext] - <Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.casRealm' defined in class path resource [org/apereo/cas/config/CoreWsSecuritySecurityTokenServiceConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.cxf.sts.token.realm.RealmProperties]: Factory method 'casRealm' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Keystore file, password or alias assigned to the realm must be defined>^[[m ^[[33m2018-02-21 22:51:33,971 WARN [org.apereo.cas.util.io.PathWatcherService] - <Directory key is no longer valid. Quitting watcher service>^[[m ^[[1;31m2018-02-21 22:51:34,015 ERROR [org.springframework.boot.SpringApplication] - <Application startup failed> ^[[m org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.casRealm' defined in class path resource [org/apereo/cas/config/CoreWsSecuritySecurityTokenServiceConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.cxf.sts.token.realm.RealmProperties]: Factory method 'casRealm' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Keystore file, password or alias assigned to the realm must be defined Any Help? Thank you Le mercredi 21 février 2018 21:57:00 UTC+1, Misagh Moayyed a écrit : > > Do you see the same problem with 5.2.3-SNAPSHOT? > > --Misagh > > ------------------------------ > > *From: *"Seb" <[email protected] <javascript:>> > *To: *"CAS Community" <[email protected] <javascript:>> > *Sent: *Wednesday, February 21, 2018 1:53:20 PM > *Subject: *[cas-user] Re: Problem integrating CAS 5.2.2 with WS > Federation Identity Provider > > > Hello, > > same problem as Stephen with 5.2.2, > > problem still alive with 5.3.0-RC2. > > AT can you share your cas.properties and your pom.xml? > > thank you > > > Le vendredi 2 février 2018 14:00:56 UTC+1, Steffen Fenger a écrit : >> >> Hello, >> >> >> I would like configure a WS Federation Identity Provider with CAS Maven >> WAR Overlay. I'm added two Dependency to pom.xml >> >> Based on this article >> >> https://apereo.github.io/cas/5.2.x/protocol/WS-Federation-Protocol.html# >> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> <artifactId>cas-server-support-ws-sts</artifactId> >> <version>${cas.version}</version> >> </dependency> >> <dependency> >> <groupId>org.apereo.cas</groupId> >> <artifactId>cas-server-support-ws-idp</artifactId> >> <version>${cas.version}</version> >> </dependency> >> >> >> The CAS Application Start's with follow Error: >> >> Log file: >> >> 2018-02-02 13:35:01,533 WARN >> [org.apereo.cas.web.CasWebApplicationContext] - <Exception encountered >> during context initialization - cancelling refresh attempt: >> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >> creating bean with name 'casReportsConfiguration': Unsatisfied dependency >> expressed through field 'cas3ServiceSuccessView'; nested exception is >> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >> creating bean with name 'casValidationConfiguration': Unsatisfied >> dependency expressed through field 'centralAuthenticationService'; nested >> exception is >> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >> creating bean with name 'centralAuthenticationService' defined in class >> path resource [org/apereo/cas/config/CasCoreConfiguration.class]: >> Unsatisfied dependency expressed through method >> 'centralAuthenticationService' parameter 0; nested exception is >> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >> creating bean with name 'authenticationServiceSelectionPlan' defined in >> class path resource [org/apereo/cas/config/CasCoreConfiguration.class]: >> Unsatisfied dependency expressed through method >> 'authenticationServiceSelectionPlan' parameter 0; nested exception is >> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >> creating bean with name 'coreWsSecurityIdentityProviderConfiguration': >> Unsatisfied dependency expressed through field >> 'loginFlowDefinitionRegistry'; nested exception is >> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >> creating bean with name 'casWebflowContextConfiguration': Unsatisfied >> dependency expressed through field 'registeredServiceViewResolver'; nested >> exception is >> org.springframework.beans.factory.UnsatisfiedDependencyException: Error >> creating bean with name 'casThemesConfiguration': Unsatisfied dependency >> expressed through field 'authenticationRequestServiceSelectionStrategies'; >> nested exception is >> org.springframework.beans.factory.BeanCurrentlyInCreationException: Error >> creating bean with name 'authenticationServiceSelectionPlan': Requested >> bean is currently in creation: Is there an unresolvable circular reference?> >> 2018-02-02 13:35:04,075 ERROR >> [org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter] - < >> >> *************************** >> APPLICATION FAILED TO START >> *************************** >> >> Description: >> >> The dependencies of some of the beans in the application context form a >> cycle: >> >> casReportsConfiguration (field private >> org.springframework.web.servlet.View >> org.apereo.cas.web.report.config.CasReportsConfiguration.cas3ServiceSuccessView) >> ↓ >> casValidationConfiguration (field private >> org.apereo.cas.CentralAuthenticationService >> org.apereo.cas.web.config.CasValidationConfiguration.centralAuthenticationService) >> ↓ >> centralAuthenticationService defined in class path resource >> [org/apereo/cas/config/CasCoreConfiguration.class] >> ┌─────┐ >> | authenticationServiceSelectionPlan defined in class path resource >> [org/apereo/cas/config/CasCoreConfiguration.class] >> ↑ ↓ >> | coreWsSecurityIdentityProviderConfiguration (field private >> org.springframework.webflow.definition.registry.FlowDefinitionRegistry >> org.apereo.cas.config.CoreWsSecurityIdentityProviderConfiguration.loginFlowDefinitionRegistry) >> ↑ ↓ >> | casWebflowContextConfiguration (field private >> org.springframework.web.servlet.ViewResolver >> org.apereo.cas.web.flow.config.CasWebflowContextConfiguration.registeredServiceViewResolver) >> ↑ ↓ >> | casThemesConfiguration (field private >> org.apereo.cas.authentication.AuthenticationServiceSelectionPlan >> org.apereo.cas.services.web.config.CasThemesConfiguration.authenticationRequestServiceSelectionStrategies) >> >> >> Thanks for your time. >> >> -- > - 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] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/a/apereo.org/d/msgid/cas-user/0c96d4e7-7215-4ed7-9f4e-ead7148f72cd%40apereo.org > > <https://groups.google.com/a/apereo.org/d/msgid/cas-user/0c96d4e7-7215-4ed7-9f4e-ead7148f72cd%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/f1035e1e-f3d0-4bcc-bd0b-3b5354f5a778%40apereo.org.
