Package org.apache.cxf.fediz.service.idp.util

Examples of org.apache.cxf.fediz.service.idp.util.MetadataWriter


        PrintWriter out = response.getWriter();
        try {
            ConfigService cs = (ConfigService)getApplicationContext().getBean("config");
            IDPConfig idpConfig = cs.getIDPConfig(realm);
            LOG.debug(idpConfig.toString());
            MetadataWriter mw = new MetadataWriter();
            Document metadata =  mw.getMetaData(idpConfig);
            out.write(DOM2Writer.nodeToString(metadata));
        } catch (Exception ex) {
            LOG.error("Failed to get metadata document: ", ex);
            response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
        }
View Full Code Here

TOP

Related Classes of org.apache.cxf.fediz.service.idp.util.MetadataWriter

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.