Project

General

Profile

Actions

Defect #1074

closed

Script sandbox problem when using custom synchronization filter

Added by Peter Štrunc over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Scripts
Target version:
Start date:
04/17/2018
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

It is forbidden to use "not filter" in custom synchronization filter.

Caused by: java.lang.SecurityException: Script wants to use unauthorized class: [class eu.bcvsolutions.idm.ic.filter.impl.IcNotFilter] 
    at eu.bcvsolutions.idm.core.security.domain.GroovySandboxFilter.filter(GroovySandboxFilter.java:113)
    at org.kohsuke.groovy.sandbox.GroovyValueFilter.filterReturnValue(GroovyValueFilter.java:26)
    at org.kohsuke.groovy.sandbox.GroovyValueFilter.onStaticCall(GroovyValueFilter.java:63)

Affected version: 7.6.1

Actions

Also available in: Atom PDF