AnsweredAssumed Answered

Web service authentication for Alfresco using SSO with CAS

Question asked by chr1sk on Dec 7, 2011
Hi all,

I use Alfresco Community Edition 3.4.d and Liferay 6.0.6.

I created a portlet to search file in Alfresco. Before I configure Alfresco for SSO authentication to CAS, this code works :


String USERID = "test";
String PASSWORD = "test";

AuthenticationUtils.startSession(USERID, PASSWORD);

Now Alfresco and Liferay is configured for SSO with CAS. With this configuration, I don't want to hardcode userid and password anymore.

How can I authenticate using Alfresco Web Service API with this scenario ?

Thank you

Outcomes