Package org.picketlink.test.identity.federation.bindings.mock

Examples of org.picketlink.test.identity.federation.bindings.mock.MockCatalinaContextClassLoader.associate()


        ClassLoader tccl = Thread.currentThread().getContextClassLoader();
        URL configURL = tccl.getResource("config/test-idp-metadata-file-config.xml");
        URL[] urls = new URL[] { configURL };
        MockCatalinaContextClassLoader tcl = new MockCatalinaContextClassLoader(urls);
        tcl.associate("/WEB-INF/picketlink-idfed.xml", configURL.openStream());
        tcl.associate("/WEB-INF/picketlink-handlers.xml",
                tccl.getResourceAsStream("saml2/post/sp/employee/WEB-INF/picketlink-handlers.xml"));
        tcl.associate("/WEB-INF/testshib.org.idp-metadata.xml",
                tccl.getResourceAsStream("metadata/testshib.org.idp-metadata.xml"));
        tcl.setProfile("DUMMY");
View Full Code Here


        ClassLoader tccl = Thread.currentThread().getContextClassLoader();
        URL configURL = tccl.getResource("config/test-idp-metadata-file-config.xml");
        URL[] urls = new URL[] { configURL };
        MockCatalinaContextClassLoader tcl = new MockCatalinaContextClassLoader(urls);
        tcl.associate("/WEB-INF/picketlink-idfed.xml", configURL.openStream());
        tcl.associate("/WEB-INF/picketlink-handlers.xml",
                tccl.getResourceAsStream("saml2/post/sp/employee/WEB-INF/picketlink-handlers.xml"));
        tcl.associate("/WEB-INF/testshib.org.idp-metadata.xml",
                tccl.getResourceAsStream("metadata/testshib.org.idp-metadata.xml"));
        tcl.setProfile("DUMMY");
        tcl.setDelegate(tccl);
View Full Code Here

        URL[] urls = new URL[] { configURL };
        MockCatalinaContextClassLoader tcl = new MockCatalinaContextClassLoader(urls);
        tcl.associate("/WEB-INF/picketlink-idfed.xml", configURL.openStream());
        tcl.associate("/WEB-INF/picketlink-handlers.xml",
                tccl.getResourceAsStream("saml2/post/sp/employee/WEB-INF/picketlink-handlers.xml"));
        tcl.associate("/WEB-INF/testshib.org.idp-metadata.xml",
                tccl.getResourceAsStream("metadata/testshib.org.idp-metadata.xml"));
        tcl.setProfile("DUMMY");
        tcl.setDelegate(tccl);

        Thread.currentThread().setContextClassLoader(tcl);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.