0 Replies Latest reply on Oct 18, 2019 3:48 AM by rahulk7494

    Share SecurityContextHolder UserDetails Object over Wildfly Cluster

    rahulk7494

      We are setting up Wildfly 17 cluster using Domain Mode with 3 nodes, where 1 is domain controller and other 2 are host controller and we have AWS ELB in place as well.

      Since ELB is redirecting the request alternatively on each of the two hosts,

      /api/login => Host1 => login request and it authenticated and stored the details in SecurityContextHolder in Host1 server.

      /api/details => Host2 => since it doesn't know about the UserDetails stored in SecurityContext by Host1, this API fails.

      So is there any mechanism available to share this SecurityContext over the cluster ?