-
Notifications
You must be signed in to change notification settings - Fork 223
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
Feature Request - Swap/replace Server Credential Store #355
Comments
You have a number of choices. You could implement you own Session plug and replace the calls to So you could implement ur own CredentialStore by cloning and modifying |
The first option is what I wanted to do but a hardcoded case statement in @spec get_credential_store() :: module
def get_credential_store do
case Config.auth_module do
Coherence.Authentication.Session ->
Coherence.CredentialStore.Session
Coherence.Authentication.Basic ->
Coherence.CredentialStore.Server
end
end |
For more clarification, |
I have done some significant changes to the controller design. One of those changes is allowing customization of the get_credential_store. The work is on a branch right now. I've upgraded my current active project over to the new design and working through regression testing. When I'm happy, I'll merge the changes into master and then ultimately release 0.6.0. |
I should be merging the |
Want the ability to timeout sessions server side. I've add a
Coherence.DbStore
protocol impl that uses Redis for storage and TTL but the credentials are still stored and first accessed from theCoherence.CredentialStore.Server
. How can I bypass this behavior? I want the primary credential store to be the Redis store or allow TTL within theCoherence.CredentialStore.Server
. Technically I could keep shutting down the GenServer to clear its state and force a reload from the Redis cache but this is hack-ish. Thoughts?The text was updated successfully, but these errors were encountered: