cancel
Showing results for 
Search instead for 
Did you mean: 

hej, a simple problem on CAS setting

nijiworld
Champ in-the-making
Champ in-the-making
helllo, friends
I have a simple problem when i see this
Finally I have alfresco 1.4 and liferay 4.2.1 smoothly authenticating with CAS. To get it, you have to change just a row of the NovellIChainsHTTPRequestAuthenticationFilter class (and rename it if you like as CASAuthenticationFilter):

String authHdr = (String) req.getSession().getAttribute(CASFilter.CAS_FILTER_USER);
I uncompile the class NovellIChainsHTTPRequestAuthenticationFilter from the jar file, but i cannot compile it back after modification.

And i wonder this method can work described in below post
http://forums.alfresco.com/viewtopic.php?p=15807
because my alfresco is 2.1.0

thanks have a nice day
1 REPLY 1

andy
Champ on-the-rise
Champ on-the-rise
Hi

In 2.1 you can use the HTTPRequestAuthenticationFilter instead of the IChains one. It can be configured to use any header to extract the user.
No need to recompile.

Andy