Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not persistent cache when using HttpHeaderAuthenticator #588

Open
mlegy opened this issue Apr 16, 2016 · 1 comment
Open

Can not persistent cache when using HttpHeaderAuthenticator #588

mlegy opened this issue Apr 16, 2016 · 1 comment

Comments

@mlegy
Copy link

mlegy commented Apr 16, 2016

I am using the HttpHeaderAuthenticator and trying to persistent cache for authenticator, so I made a copy of ehcache-default.xml from the distribution, to conf/ehcache.xml

<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="ehcache.xsd"
         updateCheck="false">

    <diskStore path="/mnt/data/Project/backend/tmp"/>
    <defaultCache
            maxElementsInMemory="10000"
            eternal="false"
            timeToIdleSeconds="120"
            timeToLiveSeconds="120"
            overflowToDisk="false"
            maxElementsOnDisk="10000000"
            diskPersistent="true"
            diskExpiryThreadIntervalSeconds="120"
            memoryStoreEvictionPolicy="LRU"
    />
</ehcache>

but when I recompile the app the user is logged out again.
The play.data file still exists and contains the user info and token.
Any idea what may be the problem ?

@Axel-AMGHAR
Copy link

It work for me thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants