Questions Tagged With userhttps://answers.axonivy.com/tags/user/?type=rss&user=ahatiusquestions tagged <span class="tag">user</span>enSat, 25 Jan 2014 15:28:14 -0500How to authenticate a user that is provided by a Single Sign On (SSO) proxy.https://answers.axonivy.com/questions/506/how-to-authenticate-a-user-that-is-provided-by-a-single-sign-on-sso-proxy<p>We've got a SSO-Proxy for most of our web applications. I'd like to make use of the SSO-Proxy instead of requiring the user to login with his Windows credentials.</p> <p>I've figured out how I can read the HTTP header containing the user-id. Now I'd like to authenticate as this user, but all provided methods require a password. Is there anyway I can authenticate a user only by his user-id?</p> <p>This is what I've got to get the user-id:</p> <pre><code>package ch.company.ivy.security; import java.util.Map; import javax.faces.context.FacesContext; public class Auth { Map&lt;String, String&gt; headers; String userId; public Auth() { headers = FacesContext.getCurrentInstance().getExternalContext().getRequestHeaderMap(); userId = headers.get("UID").toString(); } public String getUserId() { return this.userId; } } </code></pre>ahatiusSat, 25 Jan 2014 15:28:14 -0500https://answers.axonivy.com/questions/506/how-to-authenticate-a-user-that-is-provided-by-a-single-sign-on-sso-proxyssoauthenticationuser