Creating Custom Login Page.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2009 12:07 AM
Hi all,
Background:
I am trying to create a custom login page from scratch using the ExtJS framework (all Javascript). Like any other login page it has a username and a password field. The fields are sent via an Ajax GET request to the the Alfresco web script '/org/alfresco/repository/login' for authentication. The webscript establishes a ticket and returns it, but the user session is not maintained and in order to access any other webscript I would need to login (the default generic login pop-up appears).
Issue:
Is there any way to maintain authentication of a user?
How do I use the ticket that's being returned from the login webscript?
Doesn't the webscript create a session in the browser until the ticket gets deleted?
Any suggestion is welcomed, I am willing to take any alternative. The key is to not use any Alfresco UI.
Thanks
Background:
I am trying to create a custom login page from scratch using the ExtJS framework (all Javascript). Like any other login page it has a username and a password field. The fields are sent via an Ajax GET request to the the Alfresco web script '/org/alfresco/repository/login' for authentication. The webscript establishes a ticket and returns it, but the user session is not maintained and in order to access any other webscript I would need to login (the default generic login pop-up appears).
Issue:
Is there any way to maintain authentication of a user?
How do I use the ticket that's being returned from the login webscript?
Doesn't the webscript create a session in the browser until the ticket gets deleted?
Any suggestion is welcomed, I am willing to take any alternative. The key is to not use any Alfresco UI.
Thanks

Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2009 08:13 AM
Take a look at the implementation of the share UI. Its already doing exactly what you are trying to do.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2009 08:49 PM
Take a look at the implementation of the share UI. Its already doing exactly what you are trying to do.
Sorry, but what do you mean the share UI?
Is there any documentation I can learn more about it?
Thanks

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-22-2009 08:51 PM
Take a look at the implementation of the share UI. Its already doing exactly what you are trying to do.
Sorry, but what do you mean the share UI?
Is there any documentation I can learn more about it?
Thanks
Sorry, I just read the other thread above this one. I think I know what you mean now.
Thank you for your time,

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2011 06:48 AM
How can i customize the login popup which we will get after session expiry, and how to redirect to perticular page after login using that popup.
