Questions Tagged With authenticationhttps://answers.axonivy.com/tags/authentication/?type=rss&user=anphunlquestions tagged <span class="tag">authentication</span>enWed, 15 Jan 2014 11:10:28 -0500How can we change authentication scope?https://answers.axonivy.com/questions/253/how-can-we-change-authentication-scope<p>Panda team is developing a Web application to change the configuration of Ivy server. <img alt="alt text" src="/upfiles/Capture.PNG"> </p> <p>We are creating the login step, so that just the Ivy Admin can access our page. Could you please tell us how to authenticate with the Ivy Administrator account (like the picture at the bottom)</p> <p>Panda team tried to do :</p> <pre><code>public static AuthenticationException login(ISession session, String userName, String password) throws PersistencyException { try { session.authenticateSessionUser(userName, new Password(password)); return null; } catch(AuthenticationException ex) { return ex; } } </code></pre> <p>The result is we just can login with the accounts (IUser) of our application, not the account to manage the server.</p> <p>Please help us. Thank you very much</p> <p><img alt="Login" src="/upfiles/login.PNG"></p>anphunlWed, 15 Jan 2014 11:10:28 -0500https://answers.axonivy.com/questions/253/how-can-we-change-authentication-scopeauthentication