Securing URL PXs
Is there a recommended approach to securing URL PXs? There is an approach mentioned in Agile PLM documentation for SSO (Single Sign On) enabled applications where the authentication details can be shared with the external URL PX application.
Questions:
Q1:How can a non-SSO but an LDAP enabled application pass authentication details to external applications without compromising on the security? This is required to use that authentication detail to establich connection back to Agile and read the information.
Can anybody please shed some light on this topic?
Thanks,
Jagadish Gowda
Dear Jagadish,
an URL PX share with other applications the cookies “j_username” and “j_password” that you can use to create an IAgileSession in your application .
AgileSessionFactory factory = AgileSessionFactory.getInstance(myAgileUrl); params.put(AgileSessionFactory.PX_USERNAME, j_usernameValue); params.put(AgileSessionFactory.PX_PASSWORD, j_passwordValue); IAgileSession session = factory.createSession(params);
If the URL PX is in the Action menu of an object, it appends also some URL query parameters such as the object number, user that run the PX, the class name of the object.