Login from web service
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2010 06:20 AM
Hi all,
I have a question. I am developing a java application to use as a frontend for Alfresco. The users can register themselfs and change their passwords in any time. The users have to be authenticated in this application to access to contents. A link redirect the user to Alfresco application that it´s installed in another server. I want the user doesn´t have to authenticate again. Any ideas to do this?
I am trying authenticate the user by webservice when the user access to the first application and then send the valid ticket to Alfresco when the user is redirected to it. Is it posible?
Thanks a lot in advance,
I have a question. I am developing a java application to use as a frontend for Alfresco. The users can register themselfs and change their passwords in any time. The users have to be authenticated in this application to access to contents. A link redirect the user to Alfresco application that it´s installed in another server. I want the user doesn´t have to authenticate again. Any ideas to do this?
I am trying authenticate the user by webservice when the user access to the first application and then send the valid ticket to Alfresco when the user is redirected to it. Is it posible?
Thanks a lot in advance,
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2010 03:07 PM
sure, just post the ticket along with the request to alfresco.
example "http://yourserver:8080/alfresco/services/someservice?ticket=yourticket"
and the user won't have to re-authenticate.
example "http://yourserver:8080/alfresco/services/someservice?ticket=yourticket"
and the user won't have to re-authenticate.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2010 03:07 AM
Hi hsohaib, thank you very much for your reply.
I tried to rediret the user at "http://yourserver:8080/alfresco/services/someservice?ticket=yourticket" but it returned an error.
I want users to enter into Alfresco in companyhome space so I redirect them using this url:
http://yourserver:8080/alfresco/n/browse/workspace/SpacesStore/nodeRefCompanyHome?ticket=myticket&se...".
It works fine. Users are authenticated when the application redirect them to Alfresco and they can work with Alfresco as if they enter from Alfresco login page.
I tried to rediret the user at "http://yourserver:8080/alfresco/services/someservice?ticket=yourticket" but it returned an error.
I want users to enter into Alfresco in companyhome space so I redirect them using this url:
http://yourserver:8080/alfresco/n/browse/workspace/SpacesStore/nodeRefCompanyHome?ticket=myticket&se...".
It works fine. Users are authenticated when the application redirect them to Alfresco and they can work with Alfresco as if they enter from Alfresco login page.
