How can we change authentication scope?
Panda team is developing a Web application to change the configuration of Ivy server.
![alt text][1]
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)
Panda team tried to do :
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;
}
}
The result is we just can login with the accounts (IUser) of our application, not the account to manage the server.
Please help us. Thank you very much
![Login][1]![Login][2]
[1]: /upfiles/login.PNG
/upfiles/Capture.PNG
[2]: /upfiles/login.PNG