I have 2 WAR applications in 2 independent EARs that I want to deploy in a single instance of Wildfly 10/JBoss 7 EAP. How can I share sessions/authentication between the 2 wars
Sharing session between two web application which are part of same EAR is possible, go through document for more details on this. For single authentication for both web applications, you have to implement SSO. You can implement SSO using SAML or Kerberos. Hope it helps..!!