Announcement Announcement Module
Collapse
No announcement yet.
Websphere java.util.PropertyPermission using PayloadTransformingInterceptor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Websphere java.util.PropertyPermission using PayloadTransformingInterceptor

    Any ideas to solve this problem

    SecurityManag W SECJ0314W: Current Java 2 Security policy reported a potential violation of Java 2 Security Permission. Please refer to InfoCenter for further information.

    Permission:

    com.ibm.websphere.webservices.alternateContent.imp licitNamespaces : access denied (java.util.PropertyPermission com.ibm.websphere.webservices.alternateContent.imp licitNamespaces read)


    Code:

    Request_Mapping in {null code URL}
    Stack Trace:

    java.security.AccessControlException: access denied (java.util.PropertyPermission com.ibm.websphere.webservices.alternateContent.imp licitNamespaces read)
    at java.security.AccessControlContext.checkPermission (AccessControlContext.java:264)
    at java.security.AccessController.checkPermission(Acc essController.java:427)
    at java.lang.SecurityManager.checkPermission(Security Manager.java:532)
    at com.ibm.ws.security.core.SecurityManager.checkPerm ission(SecurityManager.java:212)
    at java.lang.SecurityManager.checkPropertyAccess(Secu rityManager.java:1285)
    at java.lang.System.getProperty(System.java:628)


    I have my was.policy set with
    grant codeBase "${application}" {
    permission java.io.FilePermission "${app.installed.path}${/}-", "read,write,delete";
    permission java.security.AllPermission;
    permission java.util.PropertyPermission "*", "read";
    };

    But still i get this security violation exception..
Working...
X