Announcement Announcement Module
No announcement yet.
How does acegi work in a webfarm environment Page Title Module
Move Remove Collapse
This topic is closed
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How does acegi work in a webfarm environment

    Hi! I would like to incorporate some sign-on cookie (not CAS), for remembering the logged in user, when the Acegi protected application is deployed behind a load balancer, or a farm of application servers. Having sticky sessions is not an option.

    Will the token based rememberMe be enough?

    If anyone has implemented their own cookie filter for this, please let me know the steps.


  • #2
    You could adapt remember-me for this, but something will need to send the initial remember-me token. It's probably architecturally cleaner to write your own equivalent to the CAS handling classes. You'll need an authentication provider and an authentication mechanism that handles your own custom Authentication implementation, and detection of your cookie respectively.