Password never expires
For a particular user - PX user we are creating a session with the following code:
1. Create a custom code of standalone program as below
AgileSessionFactory factory;
HashMap params = new HashMap();
params.put(AgileSessionFactory.USERNAME, "username");
params.put(AgileSessionFactory.PASSWORD, "password");
factory = AgileSessionFactory.getInstance("http://agileserver/Agile");
IAgileSession sess = factory.createSession(params);
System.out.println(sess.toString());
sess.close();
We have disabled the Password never expires feature and so periodically password must be changed. However since we want the Event to be recorded in the history as the PX users and not user who logged in. We are creating a separate session and we will user the PX usr to run the PX but the password will expire and the PX will fail. How do we get around this problem?