cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication

lucille_arkenst
Champ in-the-making
Champ in-the-making
Hello everybody,

First, I sincerely thank everyone who has responded to my posts for their help and advice.  Thank you so much.

Next, I am trying to steer away from Java (simply because I know not yet how to deploy a war to the server, and I am not yet confident to do so without crashing the whole thing).

Is there a way to authenticate a user using server-side JavaScript instead of using web service AuthenticationUtils (as referenced in Chapter 3 of the Alfresco Developer Guide)?

Cheers,
Lucille
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
If you have got as far as running server side java script are you not already athenticated?

lucille_arkenst
Champ in-the-making
Champ in-the-making
Yes, I am already authenticated.  But my user isn't.  I'm writing a web script that will allow a user to create a folder. I shall then provide a link to that folder.  So I will need to do authentication.

mrogers
Star Contributor
Star Contributor
So how does your user authenticate in order to start the web script.   Or are they "guest" and therefore need a proxy account.

In your web script definition, is the value of your "authenticate" property "user"?

You can set "runAs" for a web script to run as a proxy account.