Package org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists

Examples of org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist


                    if (t instanceof RejectedAccessException) {
                        ScriptApproval.get().accessRejected((RejectedAccessException) t, ApprovalContext.create());
                    }
                    return outcome;
                }
            }, new ProxyWhitelist(new GroovyClassLoaderWhitelist(thread.group.getExecution().getShell().getClassLoader()),CpsWhitelist.get()));
        } catch (RuntimeException e) {
            throw e;
        } catch (Exception e) {
            throw new AssertionError(e);    // Callable doesn't throw anything
        }
View Full Code Here


     */
    private static Whitelist INSTANCE;

    public static synchronized Whitelist get() {
        if (INSTANCE==null) {
            INSTANCE = new ProxyWhitelist(new CpsWhitelist(),Whitelist.all());
        }
        return INSTANCE;
    }
View Full Code Here

TOP

Related Classes of org.jenkinsci.plugins.scriptsecurity.sandbox.whitelists.ProxyWhitelist

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.