Hi,
What we are trying to achieve is having SAML authentication internal for
releasing attributes.
I have followed the configuration instructions in
https://jasig.github.io/cas/4.1.x/protocol/SAML-Protocol.html
I am getting the following error when deploying the CAS 4.1.6 server in
Tomcat 7.0.52-1ubuntu0.3 with OpenJDK 64-Bit Server VM (build 24.79-b02,
mixed mode):
2016-04-01 12:05:26,928 WARN
[org.springframework.web.context.support.XmlWebApplicationContext] -
<Exception encountered during context initialization - cancelling
refresh attempt org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'centralAuthenticationService' defined in
ServletContext resource
[/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve
reference to bean 'authenticationManager' while setting constructor
argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'authenticationManager' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference
to bean 'primaryPrincipalResolver' while setting constructor argument
with key [<ldapAuthenticationHandler>]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'primaryPrincipalResolver' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference
to bean 'attributeRepository' while setting bean property
'attributeRepository'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'attributeRepository' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference to bean
'LDAPattributeRepository' while setting bean property
'personAttributeDaos' with key [0]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'LDAPattributeRepository': Invocation of init method
failed; nested exception is java.lang.NullPointerException
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
........................
Attached deployerConfigContext.xml for details.
I have added <bean
class="org.jasig.cas.support.saml.authentication.SamlAuthenticationMetaDataPopulator"/>
but still not working. I'm not sure if this is really needed/correct but
documentation states that for other method authentication such as
OpenId, ... metadataPopulator is needed.
When I revert all the changes from wiki related to SAML then the CAS is
deployed without errors.
Thanks.
--
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
cas-user+u...@apereo.org.
Visit this group at
https://groups.google.com/a/apereo.org/group/cas-user/.