Results 1 to 4 of 4

Thread: Clustering Spring SAML

  1. #1
    Join Date
    Dec 2012
    Posts
    4

    Default Clustering Spring SAML

    Hi,

    We have a 2 node production cluster where the 2 nodes are sharing a single database. We are trying to implement Spring SAML and have confirmed it works on a single test server.

    We don't have any kind of session state sharing between the 2 nodes in the cluster, as we just use sticky sessions in the load balancer to keep each user stuck to one of the nodes. Would you think that Spring SAML would work in this kind of setup, or is there state between SAML http communications that needs to be shared between the two nodes?

    Also, if we implemented Spring Security session state sharing between the nodes would that help?

    thanks


    Steve

  2. #2
    Join Date
    Feb 2009
    Location
    Helsinki
    Posts
    163

    Default

    Hi Steve,

    As long as you don't require fail-over (only possible when sessions are replicated) and don't need to support IDP-initialzed Single Logout with SOAP binding (as these calls don't include sessionID and could end-up on any node) everything should work just fine.

    Brs, Vladi

  3. #3
    Join Date
    Dec 2012
    Posts
    4

    Default

    Hi Vladi,

    Great, thanks for that reply. Does it work in this situation because each client is stuck to a particular node using the load balancer's sticky session? Does that rely on the load balancer spotting the sessiodID in the GET/POST and making sure a particular sessionID only goes to one particular node?

    thanks


    Steve

  4. #4
    Join Date
    Feb 2009
    Location
    Helsinki
    Posts
    163

    Default

    Yes, it works in this situation and it relies on sticky sessions. They must be in place for the SAML extension to work correctly in a clustered environment.

    V.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •