<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic CAS 3.5.2  SSO Alfresco 4.2.c in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cas-3-5-2-sso-alfresco-4-2-c/m-p/303706#M256836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi to all i'm tryng to configure alfresco 4.2.c to use CAS server for authentication and SSO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read some article found with google but there is none updated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I've made a merge of this 3 articles&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.ixxus.com/blog/2011/08/configuring-alfresco-sso-cas-and-securing-tomcat" rel="nofollow noopener noreferrer"&gt;http://www.ixxus.com/blog/2011/08/configuring-alfresco-sso-cas-and-securing-tomcat&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmstuff.blogspot.co.uk/2011/06/configuring-alfresco-for-sso-with-cas.html" rel="nofollow noopener noreferrer"&gt;http://ecmstuff.blogspot.co.uk/2011/06/configuring-alfresco-for-sso-with-cas.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Central_Authentication_Service_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have configured alfresco explorer like the instruction in the two first articles, except for the webscript, that in my mind is not clear what is used for???&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have dowloaded the class filter from&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://keembay.com/alfresco/extras/CASAuthenticationFilter.java" rel="nofollow noopener noreferrer"&gt;http://keembay.com/alfresco/extras/CASAuthenticationFilter.java&lt;/A&gt;&lt;SPAN&gt;, and modified and recompiled in a jar referencing correct alfresco sdk and CAS server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now when I try to login in alfresco I'm correctly redirected to CAS login page and after succesfully authenticated,correctly redirected to mydashbord in alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can browse create space, add content&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if I try to download a content I have this error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.AuthenticationCredentialsNotFoundException: A valid SecureContext was not provided in the RequestContext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:481)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:359)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:59)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at $Proxy7.exists(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.alfresco.web.bean.repository.Node.toString(Node.java:493)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at tbsit.alfresco.filter.CASAuthenticationFilter.doFilter(CASAuthenticationFilter.java:137)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;at java.lang.Thread.run(Thread.java:722) &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the second time it works fine ??????.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And randomly this error appears&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.providers.ProviderNotFoundException: No authentication provider for net.sf.acegisecurity.providers.UsernamePasswordAuthenticationToken&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;net.sf.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:169)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;net.sf.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:49)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:376)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.repo.transaction.RetryingTransactionInterceptor$1.execute(RetryingTransactionInterceptor.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.repo.transaction.RetryingTransactionInterceptor.invoke(RetryingTransactionInterceptor.java:59)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Proxy7.exists(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.web.bean.repository.Node.toString(Node.java:493)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;tbsit.alfresco.filter.CASAuthenticationFilter.doFilter(CASAuthenticationFilter.java:137)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:201)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.jasig.cas.client.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:107)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know I'm confused, I think there is some other filter to configure or the class AuthenticationFilter is not perfectly integrated in alfresco authentication workflow ??????&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;p.s. I don't have tried with integration with share because some config and source files needed, are on blog that now are closed like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://akselsarchitecture.blogspot.com/2010/09/cas-sso-for-alfresco-33-and-share.html" rel="nofollow noopener noreferrer"&gt;http://akselsarchitecture.blogspot.com/2010/09/cas-sso-for-alfresco-33-and-share.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If someone has downloaded it and can repost here, is good action for all the community.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 14:20:31 GMT</pubDate>
    <dc:creator>scot84</dc:creator>
    <dc:date>2013-07-30T14:20:31Z</dc:date>
    <item>
      <title>CAS 3.5.2  SSO Alfresco 4.2.c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cas-3-5-2-sso-alfresco-4-2-c/m-p/303706#M256836</link>
      <description>Hi to all i'm tryng to configure alfresco 4.2.c to use CAS server for authentication and SSO.I have read some article found with google but there is none updated.So I've made a merge of this 3 articleshttp://www.ixxus.com/blog/2011/08/configuring-alfresco-sso-cas-and-securing-tomcatandhttp://ecmstuf</description>
      <pubDate>Tue, 30 Jul 2013 14:20:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cas-3-5-2-sso-alfresco-4-2-c/m-p/303706#M256836</guid>
      <dc:creator>scot84</dc:creator>
      <dc:date>2013-07-30T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: CAS 3.5.2  SSO Alfresco 4.2.c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cas-3-5-2-sso-alfresco-4-2-c/m-p/303707#M256837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi scot84. you can create document how to config CAS with Alfresco ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 02:33:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cas-3-5-2-sso-alfresco-4-2-c/m-p/303707#M256837</guid>
      <dc:creator>ngtrongtri</dc:creator>
      <dc:date>2013-08-08T02:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: CAS 3.5.2  SSO Alfresco 4.2.c</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cas-3-5-2-sso-alfresco-4-2-c/m-p/303708#M256838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I can create document and space but randomly I have the error I have described.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 09:03:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cas-3-5-2-sso-alfresco-4-2-c/m-p/303708#M256838</guid>
      <dc:creator>scot84</dc:creator>
      <dc:date>2013-10-23T09:03:09Z</dc:date>
    </item>
  </channel>
</rss>

