Saturday, 12 October 2013

People Soft Reauthenticaton required while viewing reports

Hi All,

Did you ever come across a situation where, while viewing the reports after a process is run and reports are posted, you are prompted to login again for authentication .


By default there is no such thing employed by Oracle to re authenticate the user while opening the reports.

This could occur for two reasons :
1) If you have modified the signon peoplecode and changed something which prevents the authentication to be passed when opening the report.
2)If the URL that you are using to open the application and the one given in URL field of report node,which your batch server is using,do not match but point to same server.

The first point varies from customer to customer as they employ changes. I'll explain the second reason in this post.

While setting up the report node,there is a field URL where we give a value like :

    http://IP:Port/psreports/Sitename

Here IP and port is the address of web server which fetches the report to view. psreports is the servlet that does this job and site name is used to locate report repository where output files are placed(from its web profile or configuration.properties).When we view the report, the URL at browser changes to this IP and port.

In cases where the URL which we used to login to application and the one specified here do not match (it happens if over one place we use intranet IP while at other place Internet IP or DNS is given.In case of RPS also it happens). Since the cookies are passed only to urls with same ip and port or domain names, here authentication information is not passed when opening the report . This is the reason we need to pass our credentials again. Notice, once we give the id and password, until we log off we are not asked to re authenticate ourselves. Since now two credentials are stored in cookies and passed on to respective URLs.

Post your questions and comments. !!

No comments:

Post a Comment