Questions Tagged With ssohttps://answers.axonivy.com/tags/sso/?type=rss&user=Alexisquestions tagged <span class="tag">sso</span>enWed, 13 May 2015 09:04:14 -0400SSO on Apache: not logged in to Ivy but in tomcat?https://answers.axonivy.com/questions/1319/sso-on-apache-not-logged-in-to-ivy-but-in-tomcat<p>Hello Ivy-Comunity!</p> <p>When logged in to Apache (and to Tomcat) the User is not taken by Ivy.</p> <p>In a testing environment I have the following constellation:</p> <ul> <li>Linux environment with Ivy 5.1.3 attached to AD</li> <li>Apache Server with Kerberos Login attached to the same AD</li> <li>Ajp-Connector to Ivy-Tomcat</li> <li>A jsp testing Page in the Ivy-Environment (applicationHome on the Application-wf-Page)</li> </ul> <p>So this Page shows me by asking request.getRemoteUser() that this User is logged in: Hans.Tester@TESTENV.LOCAL and a HTTP Session request.getSession().getId(). But getting the Ivy-User by ivySession.getSessionUser() returns null. Except when Logged in manualy the result Hans.Tester for the Ivy-Session.</p> <p>So why is that? Or how can I make shure, that the Session is taken correctly by ivy?</p> <p>First guess is, that the username comes with the Environment (TESTENV.LOCAL). If it is the Issue, how to shut that down?</p> <p>With further investigation I found out more:</p> <ul> <li>In a Windows-Environment under IIS the UserName of the Tomcat-Session is in this format: TESTENV\Alexis.Suter</li> <li>The Ivy-Session is not saved into Tomcat-request. (When only logging in to Ivy)</li> </ul> <p>Thanks in advance!</p>AlexisWed, 13 May 2015 09:04:14 -0400https://answers.axonivy.com/questions/1319/sso-on-apache-not-logged-in-to-ivy-but-in-tomcatssosessionauthentication