Package org.apache.cxf.fediz.was.mapping.config

Examples of org.apache.cxf.fediz.was.mapping.config.Mapping


    }

    private Map<String, List<String>> loadMappingFile() throws FileNotFoundException, JAXBException {
        InputSource input = new InputSource(new FileInputStream(groupMappingFilename));
        JAXBContext context = JAXBContext.newInstance(Mapping.class);
        Mapping localmappings = (Mapping)context.createUnmarshaller().unmarshal(input);

        Map<String, List<String>> map = new HashMap<String, List<String>>(10);

        Iterator<SamlToJ2EE> i = localmappings.getSamlToJ2EE().iterator();
        while (i.hasNext()) {
            SamlToJ2EE mapping = i.next();
            if (LOG.isDebugEnabled()) {
                LOG.debug(mapping.getClaim() + " mapped to "
                    + mapping.getGroups().getJ2EeGroup().size() + " entries");
View Full Code Here

TOP

Related Classes of org.apache.cxf.fediz.was.mapping.config.Mapping

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.