Copied into localPlugins/lib/
cas-server-ldap-3.0.6.jar
ldaptemplate-1.0.2.jar
Changed deployerConfigContext.xml (attached)
get these errors http://ourgvinc02.iworldlink.com:8080/cas/login?null
--- ERRORS BELOW --
CAS is Unavailable
There was a fatal error initializing the CAS application context. This
is almost always because of an error in the Spring bean configuration
files. Are the files valid XML? Do the beans they refer to all exist?
Before placing CAS in production, you should change this page to present
a UI appropriate for the case where the CAS web application is
fundamentally broken. Perhaps "Sorry, CAS is currently unavailable."
with some links to your user support information.
The Throwable encountered at context listener initialization was:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'centralAuthenticationService' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to
bean 'authenticationManager' while setting bean property
'authenticationManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'authenticationManager' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#1a544a5'
while setting bean property 'authenticationHandlers' with key [1];
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#1a544a5'
defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]:
Cannot resolve reference to bean 'contextSource' while setting bean
property 'contextSource'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'contextSource' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Instantiation of bean failed;
nested exception is java.lang.NoClassDefFoundError:
com.sun.jndi.ldap.ctl.ResponseControlFactory
The Throwable encountered at dispatcher servlet initialization was:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'centralAuthenticationService' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to
bean 'authenticationManager' while setting bean property
'authenticationManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'authenticationManager' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#1a544a5'
while setting bean property 'authenticationHandlers' with key [1];
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#1a544a5'
defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]:
Cannot resolve reference to bean 'contextSource' while setting bean
property 'contextSource'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'contextSource' defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Instantiation of bean failed;
nested exception is java.lang.NoClassDefFoundError:
com.sun.jndi.ldap.ctl.ResponseControlFactory
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="authenticationManager"
class="org.jasig.cas.authentication.AuthenticationManagerImpl">
<property name="credentialsToPrincipalResolvers">
<list>
<bean
class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver" />
<bean
class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver" />
</list>
</property>
<property name="authenticationHandlers">
<list>
<bean
class="org.jasig.cas.authentication.handler.support.HttpBasedServiceCredentialsAuthenticationHandler" />
<bean
class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler" >
<property name="filter" value="uid=%u" />
<property name="searchBase" value="ou=people,cn=ldapadmin,dc=ourgvrewards,dc=com" />
<property name="contextSource" ref="contextSource" />
</bean>
</list>
</property>
</bean>
<bean id="contextSource" class="org.jasig.cas.adaptors.ldap.util.AuthenticatedLdapContextSource">
<property name="authenticatedReadOnly" value="true" />
<property name="userName" value="REMOVED" />
<property name="password" value="REMOVED" />
<property name="urls">
<list>
<value>REMOVED</value>
</list>
</property>
<property name="baseEnvironmentProperties">
<map>
<entry>
<key><value>java.naming.security.authentication</value></key>
<value>simple</value>
</entry>
</map>
</property>
</bean>
</beans>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas