Package org.apache.geronimo.corba.security.config.css

Examples of org.apache.geronimo.corba.security.config.css.CSSCompoundSecMechConfig


        return cssConfig;
    }

    protected static CSSCompoundSecMechConfig extractCompoundSecMech(CSSCompoundSecMechType mechType, Bundle bundle) throws DeploymentException {

        CSSCompoundSecMechConfig result = new CSSCompoundSecMechConfig();

        if (mechType.isSetSSL()) {
            result.setTransport_mech(extractSSLTransport(mechType.getSSL()));
        } else if (mechType.isSetSECIOP()) {
            throw new PropertyEditorException("SECIOP processing not implemented");
        } else {
            result.setTransport_mech(new CSSNULLTransportConfig());
        }

        if (mechType.isSetGSSUPStatic()) {
            result.setAs_mech(extractGSSUPStatic(mechType.getGSSUPStatic()));
        } else if (mechType.isSetGSSUPDynamic()) {
            result.setAs_mech(extractGSSUPDynamic(mechType.getGSSUPDynamic()));
        } else {
            result.setAs_mech(new CSSNULLASMechConfig());
        }

        result.setSas_mech(extractSASMech(mechType.getSasMech(), bundle));

        return result;
    }
View Full Code Here


        return cssConfig;
    }

    protected static CSSCompoundSecMechConfig extractCompoundSecMech(CSSCompoundSecMechType mechType, Bundle bundle) throws DeploymentException {

        CSSCompoundSecMechConfig result = new CSSCompoundSecMechConfig();

        if (mechType.isSetSSL()) {
            result.setTransport_mech(extractSSLTransport(mechType.getSSL()));
        } else if (mechType.isSetSECIOP()) {
            throw new PropertyEditorException("SECIOP processing not implemented");
        } else {
            result.setTransport_mech(new CSSNULLTransportConfig());
        }

        if (mechType.isSetGSSUPStatic()) {
            result.setAs_mech(extractGSSUPStatic(mechType.getGSSUPStatic()));
        } else if (mechType.isSetGSSUPDynamic()) {
            result.setAs_mech(extractGSSUPDynamic(mechType.getGSSUPDynamic()));
        } else {
            result.setAs_mech(new CSSNULLASMechConfig());
        }

        result.setSas_mech(extractSASMech(mechType.getSasMech(), bundle));

        return result;
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.corba.security.config.css.CSSCompoundSecMechConfig

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.