cancel
Showing results for 
Search instead for 
Did you mean: 

Can you create a remote session without username/password?

jcblitz
Champ in-the-making
Champ in-the-making
I have a web application that uses the remote-api.jar and uses  AuthenticationUtils.startSession, but I'm moving the authentication system to CAS. I won't have access to the password anymore in the service class in the web app so I cannot pass the password through. Is there another way to start a session without having to provide the password?
2 REPLIES 2

rwetherall
Confirmed Champ
Confirmed Champ
Hi,

The web service start session call simply authenticates the username and password provided and returns a associated ticket that can be used for subsequent web service calls.

If you have an alternative way of authenticating and getting an Alfresco ticket then this ticket can be reused on the web service headers to authenticate the calling user appropriately.

Cheers,
Roy

lfor
Champ in-the-making
Champ in-the-making
Hi

How can I get an Alfresco ticket when I use an alterntive way of authenticating ?