on 08-09-2011 4:34 PM
Hello,
I have a requirement to list the contents of a directory of the J2EE engine of the portal. For example let's assume that there are five files in directory /user/sap/<SID>/JC02/j2ee/cluster/server0/some_directory_name. I want to be able to list the names of the five files that are stored in this directory. I have written some java code that will list the entries in a given directory and that is not the problem. The problem is that when I run this on the portal j2ee I get the message back: "You are not authorized to view the content of the requested directory. Details: Directory listing is not allowed on this server".
I know I could store these files in KM and it would be very simple to do this but due to security concerns I am told by the project management here that KM is not an option for this application.
Any suggestions or help would be greatly appreciated.
Thanks,
Bert
Hi,
Are you testing this application which has super admin rigths?
You can integrate this file system in KM and write a simple java webdynpro code with KM apis which would display the file name. I dont think there could be security problem with this option.
Regards,
Jigar Oza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.