cancel
Showing results for 
Search instead for 
Did you mean: 

alf_ticket

smcardle
Champ in-the-making
Champ in-the-making
Hi all

Can anybody explain why my alf_ticket(s) don't seem to expire!!!

If I get a ticket from the login web service I am still able to use that ticket several days after.

Is it possible to have tickets automatically expire after some time period, similar to the way sessions would expire after a determined time of no activity?

Regards

Steven McArdle
2 REPLIES 2

jpotts
World-Class Innovator
World-Class Innovator
This has always been the case. Tickets hang around for an indeterminate period of time.

Jeff

smcardle
Champ in-the-making
Champ in-the-making
Thanks Jeff.

Sorry it's been some time since I looked at this but I'm ust looking into integration with OpenAM as an SSO solution and authentication is on my radar again.

I'm not sure that your response "it's always been like that" is a sufficient answer.

If tickets never expire then how do they get cleaned up in the database ? or have I finally found the reason why our Alfresco prod database is now 17Gig in size?

I would expect this behavior from something like OAuth tokens, but in this case I would save these for later and only attempt to generate new ones if I get an authentication error using an existing one.

For Alfresco tokens, the context is more closely related to say SSO tokens and often have life cycles similar too or controlled by sessions, in fact that's the basis of our current use of Alfresco tokens - whether this is correct or not is open to debate.

So, given that they don't expire…. what would be your suggestion for a usage pattern? i.e. how can I ensure I do not continually create new tokens.

Regards

Steve