Questions Tagged With securityhttps://answers.axonivy.com/tags/security/?type=rss&user=HaraldWeberquestions tagged <span class="tag">security</span>enThu, 23 Oct 2014 10:52:10 -0400Permission Denied: needs Permission SYSTEM but the Session is SYSTEMhttps://answers.axonivy.com/questions/1020/permission-denied-needs-permission-system-but-the-session-is-system<p>I have a strange Exception here: </p> <pre>Session 0 (SYSTEM) is not allowed to call method public ch.ivyteam.ivy.workflow.IProcessData ch.ivyteam.ivy.workflow.internal.Task.getInternalProcessData(). The session does not fulfill the permission rule SESSION IS SYSTEM</pre> <p>This says the Session has the permission SYSTEM but the call was denied because the Session has not the permission SYSTEM.</p> <p>Code is: </p><pre>final ITask task = Ivy.wfTask(); IProcessData ipd = Ivy.session().getSecurityContext() .executeAsSystemUser(new Callable&lt;iprocessdata&gt;() {<p></p> <pre><code> @Override public IProcessData call() throws Exception { return task.getInternalProcessData(); } }); </code></pre> </pre>HaraldWeberThu, 23 Oct 2014 10:52:10 -0400https://answers.axonivy.com/questions/1020/permission-denied-needs-permission-system-but-the-session-is-systemsecurity