0 Replies Latest reply: Nov 7, 2012 2:34 PM by Josue Barrero RSS

    SCSFileDownloadServlet fails: User 'guest' does not have sufficient priv.

    Josue Barrero
      Hi,

      We have an ADF application that is using SCSFileDownloadServlet to get documents from UCM. We added the servlet in web.xml and we are using this link to download the documents: /getfile?adapterName=our_adapter_name&dDocName=document12345&dID=12345

      The issue is that sometimes it works but sometimes it fails throwing this message in the logs:


      Event generated by user 'guest' at host 'CIS'. Unable to download 'COR-ER-421722'. User 'guest' does not have sufficient privileges. [ Details ]

      An error has occurred. The stack trace below shows more information.

      !csUserEventMessage,guest,CIS!$!csUnableToDownload,COR-ER-421722!csUserInsufficientAccess,guest
      intradoc.common.ServiceException: !csUnableToDownload,COR-ER-421722!csUserInsufficientAccess,guest
      *ScriptStack GET_FILE
      3:checkSecurity,dID=421317,dDocName=COR-ER-421722
      at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
      at intradoc.server.Service.buildServiceException(Service.java:2260)
      at intradoc.server.Service.createServiceExceptionEx(Service.java:2254)
      at intradoc.server.ServiceSecurityImplementor.validateSecurityPrivilegeLevel(ServiceSecurityImplementor.java:813)
      at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:170)
      at intradoc.server.DocumentAccessSecurity.checkSecurity(DocumentAccessSecurity.java:121)
      at intradoc.server.ServiceSecurityImplementor.checkSecurity(ServiceSecurityImplementor.java:371)
      at intradoc.server.Service.checkSecurity(Service.java:2829)
      at intradoc.server.FileService.checkSecurity(FileService.java:337)
      at intradoc.server.Service.checkSecurity(Service.java:2807)
      at sun.reflect.GeneratedMethodAccessor456.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)



      Is it possible to set a user/password to this servlet so it is able to download the documents everytime?


      Thanks,

      Josue