Package org.opensaml.xml.parse

Examples of org.opensaml.xml.parse.ParserPool


        if (message == null) {
            if (getSerializedMessage() == null) {
                throw new XMLRuntimeException("Serialized SAML message data was not available for deserialization");
            }
           
            ParserPool parserPool = Configuration.getParserPool();
            if (parserPool == null) {
                throw new XMLRuntimeException(
                        "No ParserPool was available for parsing the deserialized artifact map entry");
            }
            log.debug("Deserializing SAMLObject from a string");
View Full Code Here


     * @throws Exception error
     */
    @Test
    public void testMarshalWithLazyPoolSet() throws Exception {

        ParserPool pool = ParserPoolHolder.getPool();

        ByteArrayOutputStream outStream = new ByteArrayOutputStream();
        ObjectOutputStream stream = new ObjectOutputStream(outStream);
        stream.writeObject(assertionObject);

View Full Code Here

TOP

Related Classes of org.opensaml.xml.parse.ParserPool

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.