You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

java.security.AccessControlException: File operation not permitted at GlInterface.zip

edited Aug 11, 2017 7:00AM in Middleware 1 comment

Summary

java.security.AccessControlException: File operation not permitted at GlInterface.zip

Content

Hi,


This is a critical Issue we are facing in builidng application in SaaS extension. Basically we are trying to create a zip file and upload to UCM. In this process we are creating a temp file. This is working fine on local env. But failing on saas extension with policy violation error.

Policy POLICY-ID-427 violated.File operation not permitted at GlInterface.zip

java.security.AccessControlException: File operation not permitted at GlInterface.zip

    at oracle.cloud.jcs.scanning.impl.extension.fileaccess.FileValidatorBase.throwException(FileValidatorBase.java:91)

CODE:

public File getGLZippedDataFile(String requestId,String intType,String docType){

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!