Hi again, I feel so trouble to set up CAS with LDAP. Always CAS is Unavailable. When will the CAS touch LDAP database? I have trouble in following error again. Please help. My deadline is coming. Thanks.
2007-05-07 17:15:24,272 DEBUG [org.springframework.ldap.support.LdapContextSource] - AuthenticationSource not set - using default implementation 2007-05-07 17:15:24,297 DEBUG [org.springframework.ldap.support.LdapContextSource] - Using LDAP pooling. 2007-05-07 17:15:24,298 DEBUG [org.springframework.ldap.support.LdapContextSource] - Trying provider Urls: ldap://plk.hk:389/ ldap://plk.hk:636/ 2007-05-07 17:15:24,317 INFO [org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] - No PasswordEncoder set. Using default: org.jasig.cas.authentication.handler.PlainTextPasswordEncoder 2007-05-07 17:15:24,318 INFO [org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] - No Class to Support set. Using default: org.jasig.cas.authentication.principal.UsernamePasswordCredentials 2007-05-07 17:15:24,376 INFO [org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler] - No UniqueTicketIdGenerator specified for org.jasig.cas.ticket.proxy.support.Cas20ProxyHandler. Using org.jasig.cas.util.DefaultUniqueTicketIdGenerator 2007-05-07 17:15:26,839 INFO [org.jasig.cas.web.ServiceValidateController] - No successView specified. Using default of casServiceSuccessView 2007-05-07 17:15:26,882 INFO [org.jasig.cas.web.ServiceValidateController] - No failureView specified. Using default of casServiceFailureView 2007-05-07 17:15:26,985 INFO [org.jasig.cas.web.ServiceValidateController] - No authentication specification class set. Defaulting to org.jasig.cas.validation.Cas20ProtocolValidationSpecification 2007-05-07 17:15:26,986 INFO [org.jasig.cas.web.ServiceValidateController] - No successView specified. Using default of casServiceSuccessView 2007-05-07 17:15:26,986 INFO [org.jasig.cas.web.ServiceValidateController] - No failureView specified. Using default of casServiceFailureView 2007-05-07 17:15:27,215 INFO [org.jasig.cas.web.flow.AuthenticationViaFormAction] - FormObjectClass not set. Using default class of org.jasig.cas.authentication.principal.UsernamePasswordCredentials with formObjectName credentials and validator org.jasig.cas.validation.UsernamePasswordCredentialsValidator. 2007-05-07 17:15:29,720 ERROR [org.springframework.web.context.ContextLoader] - Context initialization failed 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#fbf51d' of type [org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] 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#fbf51d' 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]: Cannot resolve reference to bean 'ldapUserAuthService' while setting bean property 'authenticationSource'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ldapUserAuthService' is defined Caused by: 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#fbf51d' of type [org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler] 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#fbf51d' 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]: Cannot resolve reference to bean 'ldapUserAuthService' while setting bean property 'authenticationSource'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ldapUserAuthService' is defined Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler#fbf51d' 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]: Cannot resolve reference to bean 'ldapUserAuthService' while setting bean property 'authenticationSource'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ldapUserAuthService' is defined Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contextSource' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Cannot resolve reference to bean 'ldapUserAuthService' while setting bean property 'authenticationSource'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ldapUserAuthService' is defined Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'ldapUserAuthService' is defined _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
