Package org.apache.cxf.ws.security.policy.custom

Examples of org.apache.cxf.ws.security.policy.custom.DefaultAlgorithmSuiteLoader


        SPConstants consts = SP11Constants.SP_NS.equals(element.getNamespaceURI())
            ? SP11Constants.INSTANCE : SP12Constants.INSTANCE;

        AlgorithmSuiteLoader loader = bus.getExtension(AlgorithmSuiteLoader.class);
        if (loader == null) {
            loader = new DefaultAlgorithmSuiteLoader();
        }
        Element policyElement = DOMUtils.getFirstElement(element);
        AlgorithmSuite algorithmSuite = null;
        try {
            algorithmSuite = loader.getAlgorithmSuite(policyElement, consts);
View Full Code Here


        SPConstants consts = SP11Constants.SP_NS.equals(element.getNamespaceURI())
            ? SP11Constants.INSTANCE : SP12Constants.INSTANCE;

        AlgorithmSuiteLoader loader = bus.getExtension(AlgorithmSuiteLoader.class);
        if (loader == null) {
            loader = new DefaultAlgorithmSuiteLoader();
        }
        Element policyElement = DOMUtils.getFirstElement(element);
        if (policyElement == null) {
            throw new IllegalArgumentException(
                "sp:AlgorithmSuite/wsp:Policy must have a value"
View Full Code Here

TOP

Related Classes of org.apache.cxf.ws.security.policy.custom.DefaultAlgorithmSuiteLoader

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.