Login-Token cookie expiration time configure | Community
Skip to main content
October 16, 2015
Solved

Login-Token cookie expiration time configure

  • October 16, 2015
  • 1 reply
  • 813 views

Hi,

We are using LDAP login module and have overridden most part of sling form based authentication. I want to configure the login token duration and make it a few days if user indicate so. I know i can configure tokenExpiration within LDAP_login.conf but if i do that then for every request that will be the default time. 

Can anybody advice how different token times are set for both Author and publisher instances. Is there any configuration that i can override and use. I see that .token expiration for publish is 2 hours and for Author is 8 hours.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

Hi Kumar,

 You can create a custom configuration property to set the expiration time and use the same in you code to delete the cookie.

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

Hi Kumar,

 You can create a custom configuration property to set the expiration time and use the same in you code to delete the cookie.