Hello,
I have a working instance with :
In addition,
cas.server.prefix
cas.server.scope
cas.server.name
And
implementation "org.apereo.cas:cas-server-support-saml:${project.'
cas.version'}"
But I think it s not required because it s for saml1
Le ven. 22 mars 2024 à 14:09, Xavier Rodríguez <[email protected]> a écrit :
> Hello,
>
> I'm not familiar with SAML 2.0 and I need to set up our CAS 6.4.6.6 with
> SAML2 protocol. Our CAS uses Oauth2 + CAS protocol. Now, we need to add
> this protocol.
>
> Folowing the documentation:
>
>
> https://apereo.github.io/cas/6.6.x/authentication/Configuring-SAML2-Authentication.html
>
> I've added in gradle:
>
> implementation
> "org.apereo.cas:cas-server-support-saml-idp:${project.'cas.version'}"
>
> And in my cas.properties:
>
> cas.authn.saml-idp.core.entity-id: https://mycas.cat/idp
> cas.authn.saml-idp.metadata.file-system.location: file:/etc/cas/saml
>
> I've ever had the same error:
>
> Exception encountered during context initialization - cancelling refresh
> attempt: org.springframework.beans.factory.BeanCreationException: Error
> creating bean with name
> 'scopedTarget.samlProfileSamlAttributeStatementBuilder' defined in class
> path resource [org/apereo/cas/config/SamlIdPConfiguration.class]: Bean
> instantiation via factory method failed; nested exception is
> org.springframework.beans.BeanInstantiationException: Failed to instantiate
> [org.apereo.cas.support.saml.web.idp.profile.builders.SamlProfileObjectBuilder]:
> Factory method 'samlProfileSamlAttributeStatementBuilder' threw exception;
> nested exception is
> org.springframework.beans.factory.NoSuchBeanDefinitionException: *No
> qualifying bean of type
> 'org.apereo.cas.authentication.attribute.AttributeDefinitionStore' *available:
> expected at least 1 bean which qualifies as autowire candidate. Dependency
> annotations:
> {@org.springframework.beans.factory.annotation.Autowired(required=true),
> @org.springframework.beans.factory.annotation.Qualifier("attributeDefinitionStore")}
>
> What am I need to define in my Cas-Server?
>
> I try with several configurations and I've get the same result.
>
> Anyone can help me?
>
> 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/bd4ac22e-bf9e-4fa7-8210-c8a8168f927cn%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/bd4ac22e-bf9e-4fa7-8210-c8a8168f927cn%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/CALmwvcZLW%2BmAAZ6x10OcA58AdnjywfY1jOUnQ1BYJaAHcLw6PA%40mail.gmail.com.