Examples of TSSCompoundSecMechListConfig


Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

                for (int i = 0; i < profileInfo.components.length; i++) {
                    // we're lookoing for the security mechanism items.
                    if (profileInfo.components[i].tag == TAG_CSI_SEC_MECH_LIST.value) {
                        try {
                            // decode and pull the transport information.
                            TSSCompoundSecMechListConfig config = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), profileInfo.components[i]);
                            if (log.isDebugEnabled()) {
                                log.debug("looking at tss: " + config);
                            }
                            for (int j = 0; j < config.size(); j++) {
                                TSSTransportMechConfig transport_mech = config.mechAt(j).getTransport_mech();
                                if (transport_mech instanceof TSSSSLTransportConfig) {
                                    TSSSSLTransportConfig transportConfig = (TSSSSLTransportConfig) transport_mech;

                                    int supports = transportConfig.getSupports();
                                    int requires = transportConfig.getRequires();
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

        } else {
            tssConfig.setTransport_mech(new TSSNULLTransportConfig());
        }

        if (tss.isSetCompoundSecMechTypeList()) {
            TSSCompoundSecMechListConfig mechListConfig = tssConfig.getMechListConfig();
            mechListConfig.setStateful(tss.getCompoundSecMechTypeList().getStateful());

            TSSCompoundSecMechType[] mechList = tss.getCompoundSecMechTypeList().getCompoundSecMechArray();
            for (int i = 0; i < mechList.length; i++) {
                TSSCompoundSecMechConfig cMech = extractCompoundSecMech(mechList[i], bundle);
                cMech.setTransport_mech(tssConfig.getTransport_mech());
                mechListConfig.add(cMech);
            }
        }

        return tssConfig;
    }
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

        try {
            if (log.isDebugEnabled()) log.debug("Checking if target " + ri.operation() + " has a security policy");

            TaggedComponent tc = ri.get_effective_component(TAG_CSI_SEC_MECH_LIST.value);
            TSSCompoundSecMechListConfig csml = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), tc);

            if (log.isDebugEnabled()) log.debug("Target has a security policy");

            ClientPolicy clientPolicy = (ClientPolicy) ri.get_request_policy(ClientPolicyFactory.POLICY_TYPE);
            if (clientPolicy == null) return;
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

                for (int i = 0; i < profileInfo.components.length; i++) {
                    // we're lookoing for the security mechanism items.
                    if (profileInfo.components[i].tag == TAG_CSI_SEC_MECH_LIST.value) {
                        try {
                            // decode and pull the transport information.
                            TSSCompoundSecMechListConfig config = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), profileInfo.components[i]);
                            if (log.isDebugEnabled()) {
                                log.debug("looking at tss: " + config);
                            }
                            for (int j = 0; j < config.size(); j++) {
                                TSSTransportMechConfig transport_mech = config.mechAt(j).getTransport_mech();
                                if (transport_mech instanceof TSSSSLTransportConfig) {
                                    TSSSSLTransportConfig transportConfig = (TSSSSLTransportConfig) transport_mech;

                                    int supports = transportConfig.getSupports();
                                    int requires = transportConfig.getRequires();
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

                for (int i = 0; i < profileInfo.components.length; i++) {
                    // we're lookoing for the security mechanism items.
                    if (profileInfo.components[i].tag == TAG_CSI_SEC_MECH_LIST.value) {
                        try {
                            // decode and pull the transport information.
                            TSSCompoundSecMechListConfig config = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), profileInfo.components[i]);
                            if (log.isDebugEnabled()) {
                                log.debug("looking at tss: " + config);
                            }
                            for (int j = 0; j < config.size(); j++) {
                                TSSTransportMechConfig transport_mech = config.mechAt(j).getTransport_mech();
                                if (transport_mech instanceof TSSSSLTransportConfig) {
                                    TSSSSLTransportConfig transportConfig = (TSSSSLTransportConfig) transport_mech;

                                    int supports = transportConfig.getSupports();
                                    int requires = transportConfig.getRequires();
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

        try {
            if (log.isDebugEnabled()) log.debug("Checking if target " + ri.operation() + " has a security policy");

            TaggedComponent tc = ri.get_effective_component(TAG_CSI_SEC_MECH_LIST.value);
            TSSCompoundSecMechListConfig csml = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), tc);

            if (log.isDebugEnabled()) log.debug("Target has a security policy");

            ClientPolicy clientPolicy = (ClientPolicy) ri.get_request_policy(ClientPolicyFactory.POLICY_TYPE);
            CSSConfig config = clientPolicy.getConfig();
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

        } else {
            tssConfig.setTransport_mech(new TSSNULLTransportConfig());
        }

        if (tss.isSetCompoundSecMechTypeList()) {
            TSSCompoundSecMechListConfig mechListConfig = tssConfig.getMechListConfig();
            mechListConfig.setStateful(tss.getCompoundSecMechTypeList().getStateful());

            TSSCompoundSecMechType[] mechList = tss.getCompoundSecMechTypeList().getCompoundSecMechArray();
            for (int i = 0; i < mechList.length; i++) {
                TSSCompoundSecMechConfig cMech = extractCompoundSecMech(mechList[i], bundle);
                cMech.setTransport_mech(tssConfig.getTransport_mech());
                mechListConfig.add(cMech);
            }
        }

        return tssConfig;
    }
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

                for (int i = 0; i < profileInfo.components.length; i++) {
                    // we're lookoing for the security mechanism items.
                    if (profileInfo.components[i].tag == TAG_CSI_SEC_MECH_LIST.value) {
                        try {
                            // decode and pull the transport information.
                            TSSCompoundSecMechListConfig config = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), profileInfo.components[i]);
                            for (int j = 0; j < config.size(); j++) {
                                TSSTransportMechConfig transport_mech = config.mechAt(j).getTransport_mech();
                                if (transport_mech instanceof TSSSSLTransportConfig) {
                                    TSSSSLTransportConfig transportConfig = (TSSSSLTransportConfig) transport_mech;

                                    int supports = transportConfig.getSupports();
                                    int requires = transportConfig.getRequires();
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

                for (int i = 0; i < profileInfo.components.length; i++) {
                    // we're lookoing for the security mechanism items.
                    if (profileInfo.components[i].tag == TAG_CSI_SEC_MECH_LIST.value) {
                        try {
                            // decode and pull the transport information.
                            TSSCompoundSecMechListConfig config = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), profileInfo.components[i]);
                            if (log.isDebugEnabled()) {
                                log.debug("looking at tss: " + config);
                            }
                            for (int j = 0; j < config.size(); j++) {
                                TSSTransportMechConfig transport_mech = config.mechAt(j).getTransport_mech();
                                if (transport_mech instanceof TSSSSLTransportConfig) {
                                    TSSSSLTransportConfig transportConfig = (TSSSSLTransportConfig) transport_mech;

                                    int supports = transportConfig.getSupports();
                                    int requires = transportConfig.getRequires();
View Full Code Here

Examples of org.apache.geronimo.corba.security.config.tss.TSSCompoundSecMechListConfig

        try {
            if (log.isDebugEnabled()) log.debug("Checking if target " + ri.operation() + " has a security policy");

            TaggedComponent tc = ri.get_effective_component(TAG_CSI_SEC_MECH_LIST.value);
            TSSCompoundSecMechListConfig csml = TSSCompoundSecMechListConfig.decodeIOR(Util.getCodec(), tc);

            if (log.isDebugEnabled()) log.debug("Target has a security policy");

            ClientPolicy clientPolicy = (ClientPolicy) ri.get_request_policy(ClientPolicyFactory.POLICY_TYPE);
            CSSConfig config = clientPolicy.getConfig();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.