minimize weight of relaystate in SAML session backend
Keeping useless relaystate data in SAML session backend is ugly, but it also may result in load problems, since all SAML sessions are browsed at SAML login or logout (cf Lemonldap-501).
There are several things to do for that :
- do not send relaystate if there are no data to remember
- delete relaystate data after they are read (now, they are purged only by purgeCentralCache script) and for relaystate data that would never be read :
- give relaystate data a shorter timelife than other SAML data - default timelife could be 10 minutes, for example
Can you give me your point of view on the third item ? Should we set a new config parameter ?