Dear, What is the problem of my configuration for CAS calling LDAP as authenication.
I want to use LDAP for authenication. After I browse the web http://local/cas/login, typing the username and password who has been added in LDAP. The broswer is showing : CAS is Unavailable A general exception occurred while trying to access CAS. Please notify your system administrator. I check the log : 2007-04-12 16:39:39,836 DEBUG [org.springframework.web.servlet.view.JstlView] - <Rendering view with name 'casLoginView' with model [EMAIL PROTECTED] flow = 'login-webflow', flowSessions = [EMAIL PROTECTED] flow = 'login-webflow', state = 'viewLoginForm', scope = map[[empty]]]]], flowExecutionKey=_c47C1F5B9-5DED-AAFB-857F-9E4486130F0D_k9A5E5A0F-C85B-22A0- F3C7-C2A669E26736} and static attributes {}> 2007-04-12 16:39:39,836 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionKey' of type [java.lang.String] to request in view with name 'casLoginView'> 2007-04-12 16:39:39,836 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionContext' of type [org.springframework.webflow.execution.impl.FlowExecutionImpl] to request in view with name 'casLoginView'> 2007-04-12 16:39:39,845 DEBUG [org.springframework.web.servlet.view.JstlView] - <Forwarded to resource [/WEB-INF/view/jsp/default/ui/casLoginView.jsp] in InternalResourceView 'casLoginView'> 2007-04-12 16:39:39,980 DEBUG [org.springframework.web.servlet.view.JstlView] - <Rendering view with name 'casLoginView' with model [EMAIL PROTECTED] flow = 'login-webflow', flowSessions = [EMAIL PROTECTED] flow = 'login-webflow', state = 'viewLoginForm', scope = map[[empty]]]]], flowExecutionKey=_cE87F32A3-1CE9-8208-1003-6F03F0053274_kAE1C8F60-7159-467B- 927F-F22199DEE3F2} and static attributes {}> 2007-04-12 16:39:39,980 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionKey' of type [java.lang.String] to request in view with name 'casLoginView'> 2007-04-12 16:39:39,980 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionContext' of type [org.springframework.webflow.execution.impl.FlowExecutionImpl] to request in view with name 'casLoginView'> 2007-04-12 16:39:39,983 DEBUG [org.springframework.web.servlet.view.JstlView] - <Forwarded to resource [/WEB-INF/view/jsp/default/ui/casLoginView.jsp] in InternalResourceView 'casLoginView'> 2007-04-12 16:39:43,256 DEBUG [org.springframework.web.servlet.view.JstlView] - <Rendering view with name 'casLoginView' with model [EMAIL PROTECTED] flow = 'login-webflow', flowSessions = [EMAIL PROTECTED] flow = 'login-webflow', state = 'viewLoginForm', scope = map[[empty]]]]], flowExecutionKey=_c38A871B0-BE44-0F5A-BF1E-96DF68C35A9E_k8B61A4C1-DAA9-F1F7- 564C-0583FFC63E37} and static attributes {}> 2007-04-12 16:39:43,256 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionKey' of type [java.lang.String] to request in view with name 'casLoginView'> 2007-04-12 16:39:43,256 DEBUG [org.springframework.web.servlet.view.JstlView] - <Added model object 'flowExecutionContext' of type [org.springframework.webflow.execution.impl.FlowExecutionImpl] to request in view with name 'casLoginView'> 2007-04-12 16:39:43,262 DEBUG [org.springframework.web.servlet.view.JstlView] - <Forwarded to resource [/WEB-INF/view/jsp/default/ui/casLoginView.jsp] in InternalResourceView 'casLoginView'> And I had modified the deployerConfigContext.xml already, as follow : <bean class="org.jasig.cas.adaptors.ldap.BindLdapAuthenticationHandler"> <property name="filter" value="uid=%u" /> <property name="searchBase" value="ou=people,dc=plk,dc=org" /> <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="password" value="secret" /> <property name="pooled" value="true" /> <property name="urls"> <list> <value>ldap://ldap.plk.org:389/</value> </list> </property> <property name="userName" value="cn=Manager" /> <property name="baseEnvironmentProperties"> <map> <entry> <key><value>java.naming.security.protocol</value></key> <value>ssl</value> </entry> <entry> <key><value>java.naming.security.authentication</value></key> <value>simple</value> </entry> </map> </property> </bean> Thx. Albert _______________________________________________ Yale CAS mailing list [EMAIL PROTECTED] http://tp.its.yale.edu/mailman/listinfo/cas
