03-31-2010 11:44 AM
03-31-2010 12:12 PM
04-21-2010 04:11 AM
04-23-2010 09:19 AM
05-11-2010 05:35 AM
05-31-2010 11:41 AM
06-04-2010 08:11 AM
07-23-2010 12:10 AM
08-11-2010 04:14 AM
<bean class="org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler" /> for
<bean class="org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler" >
<property name="filter" value="%u@your.domain.com" />
<property name="contextSource" ref="yourContextSource" />
<property name="ignorePartialResultException" value="yes" />
</bean>
<bean id="yourContextSource" class="org.springframework.ldap.core.support.LdapContextSource">
<property name="urls">
<list>
<value>ldap://your.own.ad.ip:389</value>
</list>
</property>
<property name="userDn" value="CN=xxxx,…,DC=your,DC=domain,DC=com"/>
<property name="password" value="xxxx"/>
<property name="baseEnvironmentProperties">
<map>
<entry>
<key>
<value>java.naming.security.authentication</value>
</key>
<value>simple</value>
</entry>
</map>
</property>
</bean>
You also need to put in the classpath of the cas-server ($ALFRESCO_HOME$/tomcat/webapps/cas-server/WEB-INF/lib)the cas-server-support-ldap-3.4.2.jar. Now If you restart the application server you should be able to login in the cas-server application with your active directory users.<filter>
<filter-name>CAS Filter</filter-name>
<filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
<param-value>https://hostname:8443/cas-server/login</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
<param-value>https://hostname:8443/cas-server/serviceValidate</param-value>
</init-param>
<init-param>
<param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
<param-value>hostname:8080</param-value>
</init-param>
</filter>
<filter-class>org.alfresco.repo.web.filter.beans.BeanProxyFilter</filter-class>
<init-param>
<param-name>beanName</param-name>
<param-value>AuthenticationFilter</param-value>
</init-param>
for:<filter-class>com.keembay.alfresco.web.app.servlet.CASAuthenticationFilter</filter-class>
<init-param>
<param-name>cas.user.label</param-name>
<param-value>edu.yale.its.tp.cas.client.filter.user</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CAS Filter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
just before the <filter-mapping>
<filter-name>Authentication Filter</filter-name>
<url-pattern>/faces/*</url-pattern>
</filter-mapping>
You also need the casclient-2.1.1.jar, keembay-alfresco-cas.jar and the commons-logging-1.1.jar in the alfresco classpath (($ALFRESCO_HOME$/tomcat/webapps/alfresco/WEB-INF/lib, I have tried to put them in the $ALFRESCO_HOME$/tomcat/lib, but it seems not to work…)<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
maxThreads="150" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS"
keystoreFile="C:/Documents and Settings/user/.keystore"
keystorePass="changeit"
truststoreFile="C:/JDKS/jdk1.6.0_14/jre/lib/security/cacerts" />
org.alfresco.repo.security.authentication.AuthenticationException: 07110003 Failed to set current user administrator.
.2010-08-11 10:03:02,976 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - AuthenticationHandler: org.jasig.cas.adaptors.ldap.FastBindLdapAuthenticationHandler successfully authenticated the user which provided the following credentials: [username: administrator]
2010-08-11 10:03:02,992 INFO [org.jasig.cas.CentralAuthenticationServiceImpl] - Granted service ticket [ST-1-UEJwWo1Ma6PL9C3rgX6X-cas] for service [http://guadalajara:8080/alfresco/faces/jsp/dashboards/container.jsp] for user [administrator]
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localAuthenticationService' defined in file [C:\Portal-FW\plataformaj2ee\entornos\alfresco-community-tomcat-3.2r\tomcat\shared\classes\alfresco\extension\subsystems\Authentication\external\external1\external-authentication-context.xml]: Cannot resolve reference to bean 'sysAdminParams' while setting bean property 'sysAdminParams'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sysAdminParams' is defined
caused by:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sysAdminParams' is defined
08-18-2010 08:06 AM
javax.faces.FacesException: /jsp/dashboards/container.jsp(58,0) File "/jsp/dashboards/../parts/titlebar.jsp" not found.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.