cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Custom Login Page.

hyperation
Champ on-the-rise
Champ on-the-rise
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
Smiley Happy
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
Take a look at the implementation of the share UI.   Its already doing exactly what you are trying to do.

hyperation
Champ on-the-rise
Champ on-the-rise
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
Smiley Happy

hyperation
Champ on-the-rise
Champ on-the-rise
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
Smiley Happy

Sorry, I just read the other thread above this one.  I think I know what you mean now.

Thank you for your time,
Smiley Happy

chandu7ee
Champ in-the-making
Champ in-the-making
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.